Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

- bug in test

  • Loading branch information...
commit 3a36a1a3b275e71ad5cf705d906607020c00e9fd 1 parent 034a341
Nickolay Platonov SamuraiJack authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 t/001_helpers.t.js
4 t/001_helpers.t.js
@@ -21,7 +21,7 @@ StartTest(function (t) {
21 21
22 22 counter++
23 23
24   - if (value == 5) return false
  24 + if (value == 3) return false
25 25 })
26 26
27 27 t.is(counter, 3, "Joose.A.each can be stopped by returning a 'false' value")
@@ -49,6 +49,8 @@ StartTest(function (t) {
49 49 if (key == 'bar') t.ok(value == 'baz', '2nd key/value is correct')
50 50 })
51 51
  52 + t.is(res, undefined, 'Result value is correct #1')
  53 +
52 54 counter = 0
53 55
54 56 var res = Joose.O.each({ foo : 'bar', bar : 'baz' }, function (value, key) {

0 comments on commit 3a36a1a

Please sign in to comment.
Something went wrong with that request. Please try again.