tests/utils/utils.sh: bt_diff(): remove useless `ret` var. and `return`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 10 Nov 2023 04:22:01 +0000 (23:22 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 7 Feb 2024 21:25:56 +0000 (16:25 -0500)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I8970f29a926fbf7c707d3bf6a6516a36e6995679

tests/utils/utils.sh

index 28361a639a1c23fe52c6bc9915316e0cf2eb67da..739ec225b1b5345c24a5bde6ca29ba825287afc8 100644 (file)
@@ -249,11 +249,8 @@ bt_cli() {
 bt_diff() {
        local -r expected_file="$1"
        local -r actual_file="$2"
-       local ret=0
 
        diff -u <(bt_remove_cr_inline "$expected_file") <(bt_remove_cr_inline "$actual_file") 1>&2
-
-       return $?
 }
 
 # Checks the difference between:
This page took 0.025958 seconds and 4 git commands to generate.