From 9da7af533d326dcc8a6270595958dbb7f6254871 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 5 Sep 2024 11:03:19 +0200 Subject: [PATCH] tst_QTextCodec: add the missing "e" to Negative Length Brian Kernigham said the one thing he'd do differently in Unix if he had the chance to do it all over again was to add the "e" to creat(). Change-Id: Ifa343726f2065e2fb4bafffd1c7a96a741c664da Reviewed-by: Edward Welbourne --- tests/auto/core5/codecs/qtextcodec/tst_qtextcodec.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/auto/core5/codecs/qtextcodec/tst_qtextcodec.cpp b/tests/auto/core5/codecs/qtextcodec/tst_qtextcodec.cpp index 5ae4821..bba5607 100644 --- a/tests/auto/core5/codecs/qtextcodec/tst_qtextcodec.cpp +++ b/tests/auto/core5/codecs/qtextcodec/tst_qtextcodec.cpp @@ -84,8 +84,8 @@ private slots: void shiftJis(); void userCodec(); - void nullInputZeroOrNegativLength_data(); - void nullInputZeroOrNegativLength(); + void nullInputZeroOrNegativeLength_data(); + void nullInputZeroOrNegativeLength(); void retainNullness_data(); void retainNullness(); @@ -2615,7 +2615,7 @@ struct DontCrashAtExit { } } dontCrashAtExit; -void tst_QTextCodec::nullInputZeroOrNegativLength_data() +void tst_QTextCodec::nullInputZeroOrNegativeLength_data() { QTest::addColumn("codecName"); QTest::addColumn("mibEnum"); @@ -2684,7 +2684,7 @@ void tst_QTextCodec::nullInputZeroOrNegativLength_data() #endif } -void tst_QTextCodec::nullInputZeroOrNegativLength() +void tst_QTextCodec::nullInputZeroOrNegativeLength() { QFETCH(QString, codecName); QFETCH(int, mibEnum);