aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/util_test.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/util_test.js b/test/unit/util_test.js
index eec3183fe..00528b905 100644
--- a/test/unit/util_test.js
+++ b/test/unit/util_test.js
@@ -230,22 +230,22 @@ describe('util', function() {
describe('#isHex', function(){
it('should return true when given a hex string', function() {
var result = util.isHex('c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2')
- assert.equal(result, true)
+ assert(result)
})
it('should return false when given a non-hex string', function() {
var result = util.isHex('c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714imnotreal')
- assert.equal(result, false)
+ assert(!result)
})
it('should return false when given a string containing a non letter/number character', function() {
var result = util.isHex('c3ab8ff13720!8ad9047dd39466b3c%8974e592c2fa383d4a396071imnotreal')
- assert.equal(result, false)
+ assert(!result)
})
it('should return true when given a hex string with hex-prefix', function() {
var result = util.isHex('0xc3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2')
- assert.equal(result, true)
+ assert(result)
})
})
36349'>Update to version 1.3.2krion2004-07-262-8/+6 * Apply a big libtool patch to allow porters to use the libtool installed bymarcus2004-07-101-1/+1 * - Update to 1.3.1pav2004-06-262-5/+4 * Update ftp/curl to 7.12.0 and bump the shared library version in allroam2004-06-041-2/+2 * Chase the glib20 update, and bump all affected ports' PORTREVISIONs.marcus2004-04-051-1/+1 * SIZEify.trevor2004-03-181-0/+1 * Whoa there, boy, that's a mighty big commit y'all have there...ade2004-03-141-1/+1 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * - Update to version 1.2.0krion2004-01-273-13/+3 * - Update to 1.1.0pav2004-01-033-3/+3 * - Update to version 1.0.0krion2003-09-243-4/+3 * - Update to version 0.9.12krion2003-08-282-2/+2 * * Update to version 0.9.11krion2003-07-312-7/+5 * upgrade to 0.9.10ijliao2003-04-183-14/+10 * upgrade to 0.9.9ijliao2003-03-303-5/+6 * De-pkg-comment.knu2003-02-212-1/+1 * Change CPPFLAGS+=/LDFLAGS+= to CPPFLAGS=/LDFLAGS=.nork2003-02-081-2/+2 * Conditionalize libgnugetopt dependencies.nork2003-02-021-4/+8 * upgrade to 0.9.7ijliao2003-01-042-3/+3 * Ensure that libexpat is not detected.nork2002-11-231-0/+2 * s/expat2/libxml2/ in LIB_DEPENDS to fix build on -current.obraun2002-11-211-1/+1 * Upgrade to 0.9.6.obraun2002-11-193-3/+6 * o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1 * Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2 * Bump PORTREVISION and expat shlib.kuriyama2002-09-171-2/+2 * Bump portrevision (textproc/expat2 shlib bump).kuriyama2002-07-211-1/+2 * Update to version 0.9.5.demon2002-07-164-8/+24