<commit_before>component extends = "org.lucee.cfml.test.LuceeTestCase" skip="true"{
	function run( testResults , testBox ) {
		describe( title = "Test for === operator", body = function() {
			it( title = 'Test case for === operator with strings',body = function( currentSpec ) localmode=true {

				a = "lucee";
				b = "lucee";
				c = "Lucee";
				d = duplicate(a);

				expect ( a === d ).toBeTrue( "compare same values, variables" );
				expect ( a === b ).toBeTrue( "compare duplicated value, variables" );
				expect( "lucee" === "lucee").toBeTrue( "compare same values, inline" );

				expect ( a === c ).toBeFalse( "compare same values, different case" );
				expect( "lucee" === "Lucee").toBeFalse( "compare same values, different case, inline" );
			});

			it( title = 'Test case for === operator with numbers',body = function( currentSpec ) localmode=true {

				a = 1;
				b = 1;
				c = 2;
				d = duplicate( a );

				expect ( a === d ).toBeTrue( "compare same values, variables" );
				expect ( a === b ).toBeTrue( "compare duplicated value, variables" );
				expect( 1 === 1).toBeTrue( "compare same values, inline" );

				expect ( a === c ).toBeFalse( "compare same values, different case, variables" );
				expect( 1 === 2).toBeFalse( "compare same values, inline" );
			});

			it( title = 'Test case for === operator with numbers as strings',body = function( currentSpec ) localmode=true {

				a = 1;
				b = "1";

				expect ( a === b ).toBeFalse( "compare string and number, variables" );
				expect( 1 === "1").toBeFalse( "compare string and number, inline" );

				expect ( a == b ).toBeTrue( "traditional compare string and number, variables" );
				expect ( 1 == "1" ).toBeTrue( "traditional compare string and number, inline" );
			});
<commit_msg>LDEV-1282 update testcase to allow case insensitive === match<commit_after>component extends = "org.lucee.cfml.test.LuceeTestCase" skip="true"{
	function run( testResults , testBox ) {
		describe( title = "Test for === operator", body = function() {
			it( title = 'Test case for === operator with strings',body = function( currentSpec ) localmode=true {

				a = "lucee";
				b = "lucee";
				c = "Lucee";
				d = duplicate(a);

				expect ( a === d ).toBeTrue( "compare same values, variables" );
				expect ( a === b ).toBeTrue( "compare duplicated value, variables" );
				expect( "lucee" === "lucee").toBeTrue( "compare same values, inline" );

				expect ( a === c ).toBeFalse( "compare same values, different case" );
				expect( "lucee" === "Lucee").toBeTrue( "compare same values, different case, inline" ); // ACF compat, differs to JS
			});

			it( title = 'Test case for === operator with numbers',body = function( currentSpec ) localmode=true {

				a = 1;
				b = 1;
				c = 2;
				d = duplicate( a );

				expect ( a === d ).toBeTrue( "compare same values, variables" );
				expect ( a === b ).toBeTrue( "compare duplicated value, variables" );
				expect( 1 === 1).toBeTrue( "compare same values, inline" );

				expect ( a === c ).toBeFalse( "compare same values, different case, variables" );
				expect( 1 === 2).toBeFalse( "compare same values, inline" );
			});

			it( title = 'Test case for === operator with numbers as strings',body = function( currentSpec ) localmode=true {

				a = 1;
				b = "1";

				expect ( a === b ).toBeFalse( "compare string and number, variables" );
				expect( 1 === "1").toBeFalse( "compare string and number, inline" );

				expect ( a == b ).toBeTrue( "traditional compare string and number, variables" );
				expect ( 1 == "1" ).toBeTrue( "traditional compare string and number, inline" );
			});

{'fraction_non_alphanumeric': 0.16152999449642266, 'fraction_numerical': 0.00825536598789213, 'mean_word_length': 3.348086124401914, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4379762', 'n_tokens_mistral': 1302, 'n_tokens_neox': 1071, 'n_words': 390}