]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5318-commit-graph.sh
t5318-commit-graph: use 'test_expect_code'
authorSZEDER Gábor <szeder.dev@gmail.com>
Mon, 5 Aug 2019 08:02:38 +0000 (10:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Aug 2019 21:30:59 +0000 (14:30 -0700)
commit9916073be5dc59997e7cb9f7577bc7c91fd8f44a
tree360ca7426a35dec6b48772f70057de1197ead7db
parent7c20df84bd21ec0215358381844274fa10515017
t5318-commit-graph: use 'test_expect_code'

In 't5318-commit-graph.sh' the test 'close with correct error on bad
input' manually verifies the exit code of a 'git commit-graph write'
command.

Use 'test_expect_code' instead.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Acked-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5318-commit-graph.sh