Skip to content

Commit

Permalink
Added a testcase in structKeyList() function for LDEV-4725
Browse files Browse the repository at this point in the history
  • Loading branch information
cfmitrah committed Oct 24, 2023
1 parent a357a91 commit d5ebd6d
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 strucyKeyList() 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 d5ebd6d

Please sign in to comment.