Skip to content

Commit

Permalink
update testcase for LDEV-1419
Browse files Browse the repository at this point in the history
  • Loading branch information
micstriit authored Jul 17, 2017
1 parent adb164d commit e544cdd
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions test/tickets/LDEV1419.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,13 @@ component extends="org.lucee.cfml.test.LuceeTestCase"{
it(title="comparing decimal numbers with decimal numbers as string data type ", body = function( currentSpec ) {
var a = 12345678.90;
var b = "12345678.90";
var c = false;
if (a === b) {
c = true;
}
expect(c).toBe(false);
expect(a == b).toBe(true);
});

it(title="comparing numbers with numbers as string data type", body = function( currentSpec ) {
var a = 1234567890;
var b = "1234567890";
var c = false;
if (a == b) {
c = true;
}
expect(c).toBe(true);
expect(a == b).toBe(true);
});
});
}
Expand Down

0 comments on commit e544cdd

Please sign in to comment.