mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +00:00 
			
		
		
		
	LibJS/Tests: Replace snake_case with pascalCase in two PlainDate tests
This commit is contained in:
		
							parent
							
								
									8b6865b128
								
							
						
					
					
						commit
						2c46a0fa6c
					
				
					 2 changed files with 6 additions and 6 deletions
				
			
		|  | @ -1,8 +1,8 @@ | |||
| describe("correct behavior", () => { | ||||
|     test("basic functionality", () => { | ||||
|         const calendar = { hello: "friends" }; | ||||
|         const plain_date = new Temporal.PlainDate(1, 1, 1, calendar); | ||||
|         expect(plain_date.calendar).toBe(calendar); | ||||
|         const plainDate = new Temporal.PlainDate(1, 1, 1, calendar); | ||||
|         expect(plainDate.calendar).toBe(calendar); | ||||
|     }); | ||||
| }); | ||||
| 
 | ||||
|  |  | |||
|  | @ -5,9 +5,9 @@ describe("correct behavior", () => { | |||
| 
 | ||||
|     test("basic functionality", () => { | ||||
|         const calendar = { hello: "friends" }; | ||||
|         const first_plain_date = new Temporal.PlainDate(1, 1, 1, calendar); | ||||
|         const second_plain_date = new Temporal.PlainDate(0, 1, 1, calendar); | ||||
|         expect(first_plain_date.equals(first_plain_date)); | ||||
|         expect(!first_plain_date.equals(second_plain_date)); | ||||
|         const firstPlainDate = new Temporal.PlainDate(1, 1, 1, calendar); | ||||
|         const secondPlainDate = new Temporal.PlainDate(0, 1, 1, calendar); | ||||
|         expect(firstPlainDate.equals(firstPlainDate)); | ||||
|         expect(!firstPlainDate.equals(secondPlainDate)); | ||||
|     }); | ||||
| }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Groh
						Linus Groh