From 6f28a80e10727de13568e8b2bcd84c6b466ab474 Mon Sep 17 00:00:00 2001 From: CF Mitrah Date: Thu, 17 Aug 2023 16:21:40 +0530 Subject: [PATCH 1/2] Added a testcase for LDEV-4668 --- test/tickets/LDEV4668.cfc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/tickets/LDEV4668.cfc diff --git a/test/tickets/LDEV4668.cfc b/test/tickets/LDEV4668.cfc new file mode 100644 index 0000000000..b4f49ad458 --- /dev/null +++ b/test/tickets/LDEV4668.cfc @@ -0,0 +1,12 @@ +component extends="org.lucee.cfml.test.LuceeTestCase" { + function run( testResults , testBox ) { + describe( title = "Testcase for LDEV-4668", body = function() { + it( title = "Checking forwardslash/backslash for LDEV-4668", body = function( currentSpec ) { + expect(18010737 / 1).toBe("18010737"); + expect(18010737 \ 1).toBe("18010737"); + expect(floor(18010737 / 1)).toBe("18010737"); + expect(floor(18010737 \ 1)).toBe("18010737"); + }); + }); + } +} \ No newline at end of file From 651541fb9efa67aa50e109ee55c28bf27f472492 Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Thu, 17 Aug 2023 16:25:11 +0530 Subject: [PATCH 2/2] Update LDEV4668.cfc --- test/tickets/LDEV4668.cfc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tickets/LDEV4668.cfc b/test/tickets/LDEV4668.cfc index b4f49ad458..40cda29551 100644 --- a/test/tickets/LDEV4668.cfc +++ b/test/tickets/LDEV4668.cfc @@ -1,4 +1,4 @@ -component extends="org.lucee.cfml.test.LuceeTestCase" { +component extends="org.lucee.cfml.test.LuceeTestCase" skip=true { function run( testResults , testBox ) { describe( title = "Testcase for LDEV-4668", body = function() { it( title = "Checking forwardslash/backslash for LDEV-4668", body = function( currentSpec ) { @@ -9,4 +9,4 @@ component extends="org.lucee.cfml.test.LuceeTestCase" { }); }); } -} \ No newline at end of file +}