Skip to content

Commit

Permalink
Merge pull request lucee#262 from MitrahSoft/LDEV-1419
Browse files Browse the repository at this point in the history
Added test case for LDEV-1419
  • Loading branch information
micstriit authored Jul 17, 2017
2 parents dac124e + e544cdd commit b5c0493
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/tickets/LDEV1419.cfc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
component extends="org.lucee.cfml.test.LuceeTestCase"{
function run( testResults , testBox ) {
describe( title="Test suite for LDEV-1419", body=function() {
it(title="comparing decimal numbers with decimal numbers as string data type ", body = function( currentSpec ) {
var a = 12345678.90;
var b = "12345678.90";
expect(a == b).toBe(true);
});

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

0 comments on commit b5c0493

Please sign in to comment.