1
1
Fork 0
exercism/jq/hello-world/test-hello-world.bats
Christina Sørensen 0a4ebc2eb6
chore: init
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-12-03 15:51:11 +01:00

17 lines
311 B
Bash

#!/usr/bin/env bats
# generated on 2022-11-02T20:59:14Z
load bats-extra
load bats-jq
@test 'Say Hi!' {
#[[ $BATS_RUN_SKIPPED == "true" ]] || skip
run jq -r -f hello-world.jq << 'END_INPUT'
{}
END_INPUT
assert_success
expected='Hello, World!'
assert_equal "$output" "$expected"
}