Fix spelling: use British English Colourization

Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-12-20 04:52:43 +00:00 committed by Mike Farah
parent 7f60daad20
commit 5d6c2047cf

View File

@ -797,9 +797,9 @@ func TestTomlColorisationNumberBug(t *testing.T) {
} }
} }
// TestTomlStringEscapeColorization tests that string colorization correctly // TestTomlStringEscapeColourization tests that string colourization correctly
// handles escape sequences, particularly escaped quotes at the end of strings // handles escape sequences, particularly escaped quotes at the end of strings
func TestTomlStringEscapeColorization(t *testing.T) { func TestTomlStringEscapeColourization(t *testing.T) {
// Save and restore color state // Save and restore color state
oldNoColor := color.NoColor oldNoColor := color.NoColor
color.NoColor = false color.NoColor = false