Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
takenori-y committed May 23, 2024
1 parent 13868d7 commit a2a5ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_onehot.bats
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ teardown() {
}

@test "onehot: valgrind" {
$sptk3/nrand -l 20 -v 10 | x2x +di -r > $tmp/1
$sptk3/nrand -l 20 -v 10 | $sptk3/x2x +di -r > $tmp/1
run valgrind $sptk4/onehot $tmp/1
[ "$(echo "${lines[-1]}" | sed -r 's/.*SUMMARY: ([0-9]*) .*/\1/')" -eq 0 ]
}

0 comments on commit a2a5ce2

Please sign in to comment.