aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-10-07 22:47:03 -0300
committerMarcoFalke <falke.marco@gmail.com>2018-10-07 22:47:17 -0300
commit60a61611f6b6c54c05326e13ea8992451b8415ca (patch)
treef6d057ba03f21cdea69f9579c9868f8b4a853ad5 /test
parentf504a1402afd0760e9d348ecc8bad0094aa7d705 (diff)
parent380c843217139b180457889699c65b37ae3b4a87 (diff)
downloadbitcoin-60a61611f6b6c54c05326e13ea8992451b8415ca.tar.xz
Merge #13883: utils: Convert Windows args to utf-8 string
380c843217 utils: Convert Windows args to utf-8 string (Chun Kuan Lee) Pull request description: Create a new class `WinCmdLineArgs` when building for Windows. It converts all command line arguments to utf8 string. Tree-SHA512: f098520fd123a8a452bc84a55dc8c0b88f0c475410efe57f2ccc393f86c396eed59ea1575ddc1b920323792e390fdb092061d80cdcd9b682f0ac79a22a22ff82
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/feature_uacomment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_uacomment.py b/test/functional/feature_uacomment.py
index 691a39b825..fb4ad21359 100755
--- a/test/functional/feature_uacomment.py
+++ b/test/functional/feature_uacomment.py
@@ -31,7 +31,7 @@ class UacommentTest(BitcoinTestFramework):
self.nodes[0].assert_start_raises_init_error(["-uacomment=" + 'a' * 256], expected, match=ErrorMatch.FULL_REGEX)
self.log.info("test -uacomment unsafe characters")
- for unsafe_char in ['/', ':', '(', ')']:
+ for unsafe_char in ['/', ':', '(', ')', '₿', '🏃']:
expected = "Error: User Agent comment \(" + re.escape(unsafe_char) + "\) contains unsafe characters."
self.nodes[0].assert_start_raises_init_error(["-uacomment=" + unsafe_char], expected, match=ErrorMatch.FULL_REGEX)