Skip to content

Commit

Permalink
Added a testcase in structKeyList() for LDEV4725
Browse files Browse the repository at this point in the history
  • Loading branch information
cfmitrah committed Oct 20, 2023
1 parent 96f8d58 commit 8d1198a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/tickets/LDEV4725.cfc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
component extends = "org.lucee.cfml.test.LuceeTestCase" {

function run( testResults, testBox ){
describe( "Testcase for LDEV-4725", function(){
it( title="Checking structKeyList() function", body=function( currentSpec ) {
var numbers = {A: 1,B: 1,C: 1};
expect(structKeyList(numbers)).toBe("A,B,C");
expect(numbers.KeyList()).toBe("A,B,C");
});
});
}
}

0 comments on commit 8d1198a

Please sign in to comment.