From 7b11bb261680363dc88eba8e4a9ccf72913422c7 Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Fri, 8 Sep 2023 15:58:28 +0530 Subject: [PATCH] Added a testcase for LDEV-4668 (#2212) * Added a testcase for LDEV-4668 * Update LDEV4668.cfc --- 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..40cda29551 --- /dev/null +++ b/test/tickets/LDEV4668.cfc @@ -0,0 +1,12 @@ +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 ) { + expect(18010737 / 1).toBe("18010737"); + expect(18010737 \ 1).toBe("18010737"); + expect(floor(18010737 / 1)).toBe("18010737"); + expect(floor(18010737 \ 1)).toBe("18010737"); + }); + }); + } +}