Skip to content

Commit

Permalink
fixed test so it triggers failure on travis when failing
Browse files Browse the repository at this point in the history
  • Loading branch information
jostylr committed Jan 3, 2014
1 parent 29519f7 commit 0f4760e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion numbers.md
Expand Up @@ -3141,7 +3141,8 @@ The requisite npm package file. Use `npm run-script compile` to compile the lite
"scripts" : {
"prepublish" : "node ./node_modules/literate-programming/bin/literate-programming.js numbers.md",
"compile" : "node ./node_modules/literate-programming/bin/literate-programming.js numbers.md",
"test" : "node ./test/testrunner.js | grep -v -e ^ok"
"test" : "node ./test/testrunner.js",
"testq" : "node ./test/testrunner.js | grep -v -e ^ok"
},
"keywords": ["bigint", "bignum", "arithmetic", "arbitrary", "precision", "numbers"],
"testling": {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -33,7 +33,8 @@
"scripts" : {
"prepublish" : "node ./node_modules/literate-programming/bin/literate-programming.js numbers.md",
"compile" : "node ./node_modules/literate-programming/bin/literate-programming.js numbers.md",
"test" : "node ./test/testrunner.js | grep -v -e ^ok"
"test" : "node ./test/testrunner.js",
"testq" : "node ./test/testrunner.js | grep -v -e ^ok"
},
"keywords": ["bigint", "bignum", "arithmetic", "arbitrary", "precision", "numbers"],
"testling": {
Expand Down
2 changes: 1 addition & 1 deletion test.md
Expand Up @@ -231,7 +231,7 @@ This will test the basic math functions for our float system. This is a number s
?: a ? b; b ? a, a ? a, b ? a
add: -34233112312306_17441137471203863719705331/52323412412341234123412424; -34233112312306_17441137471203863719705331/52323412412341234123412424; -68466224624624_141150781744841/8720568735390205687235404; 11_1/3
sub: -34233112312317_34882274941984275094176139/52323412412341234123412424; 34233112312317_34882274941984275094176139/52323412412341234123412424; 0; 0
mul: -193987636436434_34882274943960386038603913/52323412412341234123412424; -193987636436434_34882274943960386038603913/52323412412341234123412424; 1171905978587367447426785898_29143618721581228223533500083789330819707263174097/304193276274660525031203063573354935712562044172864; 32_1/9
mul: -193987636436434_ 34882274943960386038603913/52323412412341234123412424; -193987636436434_34882274943960386038603913/52323412412341234123412424; 1171905978587367447426785898_29143618721581228223533500083789330819707263174097/304193276274660525031203063573354935712562044172864; 32_1/9
div: -6041137466878_174411374708227566089942603/296499337003266993366003736; -296499337003266993366003736/1791193253675097227288115267987014198811; 1; 1
max: 5_2/3; 5_2/3; -34233112312312_141150781744841/17441137470780411374470808; 5_2/3
mmax: -34233112312312_141150781744841/17441137470780411374470808; -34233112312312_141150781744841/17441137470780411374470808; -34233112312312_141150781744841/17441137470780411374470808; 5_2/3
Expand Down

0 comments on commit 0f4760e

Please sign in to comment.