New Fetch
This commit is contained in:
16
crystal/hello-world/spec/hello_world_spec.cr
Normal file
16
crystal/hello-world/spec/hello_world_spec.cr
Normal file
@@ -0,0 +1,16 @@
|
||||
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
|
1
crystal/hello-world/src/hello_world.cr
Normal file
1
crystal/hello-world/src/hello_world.cr
Normal file
@@ -0,0 +1 @@
|
||||
# Please implement your solution to hello-world in this file
|
Reference in New Issue
Block a user