forked from lucee/Lucee
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request lucee#262 from MitrahSoft/LDEV-1419
Added test case for LDEV-1419
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
}); | ||
}); | ||
} | ||
} |