diff --git a/tests/source_script.bats b/tests/source_script.bats index 0ff95de..2ca5f12 100644 --- a/tests/source_script.bats +++ b/tests/source_script.bats @@ -57,14 +57,14 @@ setup() { assert_output --partial 'Error: Unsupported URI scheme: scp' } -@test "Set local target" { +@test "Set __main_target" { . source.sh source_script $DIR/files/basic.plan - [ "$local_target" == 'file:/var/backup' ] + [ "$__main_target" == 'file:/var/backup' ] } -@test "Set local target from multiple 'file' targets" { +@test "Set __main_target from multiple 'file' targets" { . source.sh source_script $DIR/files/multiple_file_targets.plan - [ "$local_target" == 'file:///home/backups' ] + [ "$__main_target" == 'file:///home/backups' ] }