Sha256: fef94cf5663fdb616fa5f6142507738a3e14a26357dfe3b0202f0b4c18fab8c6
Contents?: true
Size: 443 Bytes
Versions: 200
Compression:
Stored size: 443 Bytes
Contents
#!/usr/bin/env bats @test "When given no name, it should greet the world!" { run bash hello_world.sh [ "$status" -eq 0 ] [ "$output" = "Hello, World!" ] } @test 'When given "Alice" it should greet Alice!' { run bash hello_world.sh Alice [ "$status" -eq 0 ] [ "$output" = "Hello, Alice!" ] } @test 'When given "Bob" it should greet Bob!' { run bash hello_world.sh Bob [ "$status" -eq 0 ] [ "$output" = "Hello, Bob!" ] }
Version data entries
200 entries across 200 versions & 1 rubygems