Skip to content

Commit

Permalink
improve the properties-ordering test
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmccracken committed Dec 25, 2024
1 parent 13a32ea commit 35199a2
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions ws_tool/test/bootstrap_doctor.bats
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,6 @@ prop_f() {

# tested two ways, just keweping for now bc I have a feeling i'll want to see this in the future
assert_equal "${prop_exec_hist[*]}" "iv a b c f"

assert_equal "$(cat "${props_test_tmp_file}")" "$(cat <<-EOF
iv
a
b
c
f
EOF
)"
declare -a 'content=($(cat "${props_test_tmp_file}"))'
assert_equal "${content[*]}" "iv a b c f"
}

0 comments on commit 35199a2

Please sign in to comment.