diff options
| -rw-r--r-- | src/qml/parser/qqmljslexer.cpp | 2 | ||||
| -rw-r--r-- | tests/auto/qml/qqmlparser/tst_qqmlparser.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/parser/qqmljslexer.cpp b/src/qml/parser/qqmljslexer.cpp index d57fb7c54a..aa95f6302f 100644 --- a/src/qml/parser/qqmljslexer.cpp +++ b/src/qml/parser/qqmljslexer.cpp @@ -1220,7 +1220,7 @@ int Lexer::scanNumber(QChar ch) _state.errorCode = IllegalNumber; _errorMessage = QCoreApplication::translate( "QQmlParser", - "There can be at most one numeric separator beetwen digits" + "There can be at most one numeric separator between digits" ); return false; } diff --git a/tests/auto/qml/qqmlparser/tst_qqmlparser.cpp b/tests/auto/qml/qqmlparser/tst_qqmlparser.cpp index 0a8411ddcf..62f67e548f 100644 --- a/tests/auto/qml/qqmlparser/tst_qqmlparser.cpp +++ b/tests/auto/qml/qqmlparser/tst_qqmlparser.cpp @@ -547,7 +547,7 @@ void tst_qqmlparser::invalidNumericSeparator_data() { QTest::addColumn<QString>("error"); QTest::newRow("Trailing numeric separator") << "1_" << "A trailing numeric separator is not allowed in numeric literals"; - QTest::newRow("Multiple numeric separators") << "1__2" << "There can be at most one numeric separator beetwen digits"; + QTest::newRow("Multiple numeric separators") << "1__2" << "There can be at most one numeric separator between digits"; } void tst_qqmlparser::invalidNumericSeparator() { |
