Skip to content

Commit

Permalink
Merge remote branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
puckey committed May 5, 2011
2 parents c95b774 + 1ff1244 commit 3ddfd06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions test/lib/helpers.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Let's be strict
equals = strictEqual;

function compareNumbers(number1, number2, message) {
if (number1 !== 0)
number1 = Math.round(number1 * 100) / 100;
Expand Down
4 changes: 2 additions & 2 deletions test/tests/PathStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ test('getting group styles', function() {
group.appendTop(secondPath);

// the group now contains two paths with different fillColors and therefore
// should return null:
equals(group.fillColor, null, 'group.fillColor');
// should return undefined:
equals(group.fillColor, undefined, 'group.fillColor');

//If we remove the first path, it should now return 'black':
group.children[0].remove();
Expand Down

0 comments on commit 3ddfd06

Please sign in to comment.