From 0f4760ed14d5b0362fda7b60cc57cb296889be1d Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 3 Jan 2014 04:51:24 -0500 Subject: [PATCH] fixed test so it triggers failure on travis when failing --- numbers.md | 3 ++- package.json | 3 ++- test.md | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/numbers.md b/numbers.md index b6ba04c..bce0609 100644 --- a/numbers.md +++ b/numbers.md @@ -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": { diff --git a/package.json b/package.json index f9bd0be..aadc766 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/test.md b/test.md index c0c87e5..9317969 100644 --- a/test.md +++ b/test.md @@ -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