diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-01-30 18:55:27 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-01-30 21:20:17 +0100 |
| commit | aac6bce11219574e097a51da867e736c3d6ad96e (patch) | |
| tree | 0f9b7c53fb059f58dcb6d42a9f7e8eb01b55ed1a | |
| parent | doc: Update manpages to 0.16.99 (diff) | |
| download | discoin-aac6bce11219574e097a51da867e736c3d6ad96e.tar.xz discoin-aac6bce11219574e097a51da867e736c3d6ad96e.zip | |
test: Make ua_comment test pass on 0.16.0
The specific length of the uacomment is one shorter on `0.16.0` than on
`0.15.99` causing the (stupid) test to fail.
Just match the latter part of the message only.
| -rwxr-xr-x | test/functional/feature_uacomment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_uacomment.py b/test/functional/feature_uacomment.py index 0b2c64ab6..bc3791508 100755 --- a/test/functional/feature_uacomment.py +++ b/test/functional/feature_uacomment.py @@ -23,7 +23,7 @@ class UacommentTest(BitcoinTestFramework): self.log.info("test -uacomment max length") self.stop_node(0) - expected = "Total length of network version string (286) exceeds maximum length (256). Reduce the number or size of uacomments." + expected = "exceeds maximum length (256). Reduce the number or size of uacomments." self.assert_start_raises_init_error(0, ["-uacomment=" + 'a' * 256], expected) self.log.info("test -uacomment unsafe characters") |