From 5444a6b65d94e5af70130e96fa8801d492b00a96 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 18 Oct 2023 07:30:06 +0200 Subject: [PATCH] Remove unnecessary QString I thought it would solve the unicode issues I had, but it was unnecessary. Signed-off-by: Anton Lundin --- tests/testformatDiveGasString.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testformatDiveGasString.cpp b/tests/testformatDiveGasString.cpp index da2119a0c..063022563 100644 --- a/tests/testformatDiveGasString.cpp +++ b/tests/testformatDiveGasString.cpp @@ -68,7 +68,7 @@ void TestformatDiveGasString::test_nitrox_deco() { cylinder->start.mbar = 230000; cylinder->end.mbar = 100000; - QCOMPARE(formatDiveGasString(&dive), QString("32…100%")); + QCOMPARE(formatDiveGasString(&dive), "32…100%"); } void TestformatDiveGasString::test_reverse_nitrox_deco() { @@ -85,7 +85,7 @@ void TestformatDiveGasString::test_reverse_nitrox_deco() { cylinder->start.mbar = 230000; cylinder->end.mbar = 100000; - QCOMPARE(formatDiveGasString(&dive), QString("27…100%")); + QCOMPARE(formatDiveGasString(&dive), "27…100%"); } void TestformatDiveGasString::test_trimix() {