From 62a10d85d92224b07b7b312effe2221af6ab8ae7 Mon Sep 17 00:00:00 2001 From: mingchuan Date: Mon, 8 Apr 2019 00:48:04 +0800 Subject: [PATCH] Auto-update command line expectations Force auto-update all expectations, this make their trailing new lines consistent --- test/cmdlineTests/gas_test_abiv2/err | 2 +- test/cmdlineTests/object_compiler/output | 1 - .../standard_missing_key_useLiteralContent/output.json | 2 +- .../cmdlineTests/standard_optimizer_invalid_details/output.json | 2 +- .../standard_wrong_type_auxiliary_input/output.json | 1 - test/cmdlineTests/standard_yul_multiple_files/output.json | 2 +- .../standard_yul_multiple_files_selected/output.json | 2 +- test/cmdlineTests/yul_stack_opt/output | 1 - test/cmdlineTests/yul_stack_opt_disabled/err | 1 - test/cmdlineTests/yul_stack_opt_disabled/output | 1 - 10 files changed, 5 insertions(+), 10 deletions(-) diff --git a/test/cmdlineTests/gas_test_abiv2/err b/test/cmdlineTests/gas_test_abiv2/err index 012ed14fc..b654d45ed 100644 --- a/test/cmdlineTests/gas_test_abiv2/err +++ b/test/cmdlineTests/gas_test_abiv2/err @@ -1,3 +1,3 @@ gas_test_abiv2/input.sol:2:1: Warning: Experimental features are turned on. Do not use experimental features on live deployments. pragma experimental ABIEncoderV2; -^-------------------------------^ \ No newline at end of file +^-------------------------------^ diff --git a/test/cmdlineTests/object_compiler/output b/test/cmdlineTests/object_compiler/output index c8dcc5a82..f257721b9 100644 --- a/test/cmdlineTests/object_compiler/output +++ b/test/cmdlineTests/object_compiler/output @@ -65,4 +65,3 @@ sub_0: assembly { /* "object_compiler/input.sol":407:422 */ return } - diff --git a/test/cmdlineTests/standard_missing_key_useLiteralContent/output.json b/test/cmdlineTests/standard_missing_key_useLiteralContent/output.json index 14c325725..59b90c8cc 100644 --- a/test/cmdlineTests/standard_missing_key_useLiteralContent/output.json +++ b/test/cmdlineTests/standard_missing_key_useLiteralContent/output.json @@ -1 +1 @@ -{"sources":{"A":{"id":0}}} \ No newline at end of file +{"sources":{"A":{"id":0}}} diff --git a/test/cmdlineTests/standard_optimizer_invalid_details/output.json b/test/cmdlineTests/standard_optimizer_invalid_details/output.json index 8be28f5b3..20e62bc82 100644 --- a/test/cmdlineTests/standard_optimizer_invalid_details/output.json +++ b/test/cmdlineTests/standard_optimizer_invalid_details/output.json @@ -1 +1 @@ -{"errors":[{"component":"general","formattedMessage":"Unknown key \"notThere\"","message":"Unknown key \"notThere\"","severity":"error","type":"JSONError"}]} \ No newline at end of file +{"errors":[{"component":"general","formattedMessage":"Unknown key \"notThere\"","message":"Unknown key \"notThere\"","severity":"error","type":"JSONError"}]} diff --git a/test/cmdlineTests/standard_wrong_type_auxiliary_input/output.json b/test/cmdlineTests/standard_wrong_type_auxiliary_input/output.json index 046cb6d99..fe33dcd06 100644 --- a/test/cmdlineTests/standard_wrong_type_auxiliary_input/output.json +++ b/test/cmdlineTests/standard_wrong_type_auxiliary_input/output.json @@ -1,2 +1 @@ {"errors":[{"component":"general","formattedMessage":"\"auxiliaryInput\" must be an object","message":"\"auxiliaryInput\" must be an object","severity":"error","type":"JSONError"}]} - diff --git a/test/cmdlineTests/standard_yul_multiple_files/output.json b/test/cmdlineTests/standard_yul_multiple_files/output.json index b748cd50f..2f2da9310 100644 --- a/test/cmdlineTests/standard_yul_multiple_files/output.json +++ b/test/cmdlineTests/standard_yul_multiple_files/output.json @@ -1 +1 @@ -{"errors":[{"component":"general","formattedMessage":"Yul mode only supports exactly one input file.","message":"Yul mode only supports exactly one input file.","severity":"error","type":"JSONError"}]} \ No newline at end of file +{"errors":[{"component":"general","formattedMessage":"Yul mode only supports exactly one input file.","message":"Yul mode only supports exactly one input file.","severity":"error","type":"JSONError"}]} diff --git a/test/cmdlineTests/standard_yul_multiple_files_selected/output.json b/test/cmdlineTests/standard_yul_multiple_files_selected/output.json index b748cd50f..2f2da9310 100644 --- a/test/cmdlineTests/standard_yul_multiple_files_selected/output.json +++ b/test/cmdlineTests/standard_yul_multiple_files_selected/output.json @@ -1 +1 @@ -{"errors":[{"component":"general","formattedMessage":"Yul mode only supports exactly one input file.","message":"Yul mode only supports exactly one input file.","severity":"error","type":"JSONError"}]} \ No newline at end of file +{"errors":[{"component":"general","formattedMessage":"Yul mode only supports exactly one input file.","message":"Yul mode only supports exactly one input file.","severity":"error","type":"JSONError"}]} diff --git a/test/cmdlineTests/yul_stack_opt/output b/test/cmdlineTests/yul_stack_opt/output index b37cd03d8..0f987c7e6 100644 --- a/test/cmdlineTests/yul_stack_opt/output +++ b/test/cmdlineTests/yul_stack_opt/output @@ -201,4 +201,3 @@ tag_2: swap16 jump tag_4: - diff --git a/test/cmdlineTests/yul_stack_opt_disabled/err b/test/cmdlineTests/yul_stack_opt_disabled/err index 392200019..beb36e749 100644 --- a/test/cmdlineTests/yul_stack_opt_disabled/err +++ b/test/cmdlineTests/yul_stack_opt_disabled/err @@ -3,4 +3,3 @@ Exception while assembling: Dynamic exception type: std::exception::what: Variable a1 is 17 slot(s) too deep inside the stack. [dev::tag_comment*] = Variable a1 is 17 slot(s) too deep inside the stack. - diff --git a/test/cmdlineTests/yul_stack_opt_disabled/output b/test/cmdlineTests/yul_stack_opt_disabled/output index c9e3d5078..f6fa373df 100644 --- a/test/cmdlineTests/yul_stack_opt_disabled/output +++ b/test/cmdlineTests/yul_stack_opt_disabled/output @@ -28,4 +28,3 @@ object "object" { sstore(a1, a2) } } -