mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 10:19:26 +02:00
Cleanup -includeconf error message
Remove the erroneous trailing newline '\n'. Also, print only the first value to remove needless redundancy in the error message.
This commit is contained in:
@ -47,7 +47,7 @@ class IncludeConfTest(BitcoinTestFramework):
|
||||
expected_msg='Error: Error parsing command line arguments: -includeconf cannot be used from commandline; -includeconf=true',
|
||||
)
|
||||
self.nodes[0].assert_start_raises_init_error(
|
||||
extra_args=['-includeconf=relative2.conf'],
|
||||
extra_args=['-includeconf=relative2.conf', '-includeconf=no_warn.conf'],
|
||||
expected_msg='Error: Error parsing command line arguments: -includeconf cannot be used from commandline; -includeconf="relative2.conf"',
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user