Skip to content

Commit

Permalink
tested incomplete date implementations (99a817f)
Browse files Browse the repository at this point in the history
  • Loading branch information
lehmannro committed Jun 2, 2014
1 parent e3e0c6c commit 12b4608
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,14 @@ test #1 "false" failed:
# issue 1: assert.sh: line 87: DISCOVERONLY: unbound variable
assert "_clean; set -u; assert_raises true; assert true; assert_end" \
"all 2 tests passed."
# issue 3: Not working on Mac OS X 10.7.5
assert "
_date=20;
date() {
echo \$_date.N;
};
_clean INVARIANT=;
assert date 20.N;
_date=22;
assert_end;" "all 1 tests passed in 2s."
assert_end regression

0 comments on commit 12b4608

Please sign in to comment.