Created
December 3, 2016 17:41
-
-
Save pimterry/92259a03d108b9fb8e9c76a576ab988b to your computer and use it in GitHub Desktop.
Demo bats test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!./test/libs/bats/bin/bats | |
load 'libs/bats-support/load' | |
load 'libs/bats-assert/load' | |
@test "Should add numbers together" { | |
assert_equal $(echo 1+1 | bc) 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment