17 lines
320 B
Crystal
17 lines
320 B
Crystal
require "spec"
|
|
require "../src/*"
|
|
|
|
describe "HelloWorld" do
|
|
it "no name" do
|
|
HelloWorld.hello.should eq("Hello, World!")
|
|
end
|
|
|
|
pending "sample name" do
|
|
HelloWorld.hello("Alice").should eq("Hello, Alice!")
|
|
end
|
|
|
|
pending "other sample name" do
|
|
HelloWorld.hello("Bob").should eq("Hello, Bob!")
|
|
end
|
|
end
|