Sha256: 9b2c8139c64efa1a0bd92be1dfd7eb739e36ceab0a3dd313d8feff760a411134
Contents?: true
Size: 484 Bytes
Versions: 68
Compression:
Stored size: 484 Bytes
Contents
#!/usr/bin/env bats @test "When given no name, it should have one for you!" { run bash two_fer.sh [ "$status" -eq 0 ] [ "$output" = "One for you, one for me." ] } @test 'When given "Alice" it should have one for Alice!' { run bash two_fer.sh Alice [ "$status" -eq 0 ] [ "$output" = "One for Alice, one for me." ] } @test 'When given "Bob" it should have one for Bob!' { run bash two_fer.sh Bob [ "$status" -eq 0 ] [ "$output" = "One for Bob, one for me." ] }
Version data entries
68 entries across 68 versions & 1 rubygems