aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_utils.cpp
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2016-08-17 19:14:06 +0200
committerDaniel Neus <[email protected]>2016-08-17 19:14:06 +0200
commit5675750b04ffab7d17e5f41b9d169d59fb298adf (patch)
tree5945d48672694eac3e6835c02d5c0338f4246c32 /src/tests/test_utils.cpp
parent8d7087066a5343a6f142643cf50d55a7681746a3 (diff)
fix source file encoding ANSI -> UTF-8
should fix: ``` WARN: Invalid character encountered in file /home/travis/build/randombit/botan/src/tests/test_utils.cpp at line 381 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. WARN: Invalid character encountered in file /home/travis/build/randombit/botan/src/lib/pubkey/ecies/ecies.cpp at line 311 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. ```
Diffstat (limited to 'src/tests/test_utils.cpp')
-rw-r--r--src/tests/test_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_utils.cpp b/src/tests/test_utils.cpp
index 04d1092d8..3d474d605 100644
--- a/src/tests/test_utils.cpp
+++ b/src/tests/test_utils.cpp
@@ -378,7 +378,7 @@ class Charset_Tests : public Text_Based_Test
result.test_throws("conversion fails for non-Latin1 characters", []()
{
- // "abcdef�abcdef"
+ // "abcdefŸabcdef"
std::vector<byte> input = { 0x00, 0x61, 0x00, 0x62, 0x00, 0x63, 0x00, 0x64, 0x00, 0x65, 0x00, 0x66, 0x01,
0x78, 0x00, 0x61, 0x00, 0x62, 0x00, 0x63, 0x00, 0x64, 0x00, 0x65, 0x00, 0x66
};
@@ -406,7 +406,7 @@ class Charset_Tests : public Text_Based_Test
result.test_throws("conversion fails for non-Latin1 characters", []()
{
- // "abcdef�abcdef"
+ // "abcdefŸabcdef"
std::vector<byte> input = { 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0xC5,
0xB8, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66
};