From 29ab402d8d72022e4fcdecd8a793e5cce5b619af Mon Sep 17 00:00:00 2001 From: Hamza Hamidi <22576950+hamzahamidi@users.noreply.github.com> Date: Sun, 25 Oct 2026 17:59:38 +0100 Subject: [PATCH] test: use expected-first assertion order The file uses expected-first assertions throughout, so the empty-files assertion should follow the same convention. --- scripts/test_tap_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test_tap_update.py b/scripts/test_tap_update.py index 5bd0371..cae506b 100644 --- a/scripts/test_tap_update.py +++ b/scripts/test_tap_update.py @@ -209,7 +209,7 @@ def test_the_command_line_exits_1_with_a_message_and_changes_nothing_on_refusal( ) self.assertEqual((1, ""), (code, out.getvalue())) self.assertIn("0.9.9", err.getvalue()) - self.assertEqual(self.files(), []) + self.assertEqual([], self.files()) def test_the_script_runs_as_a_program(self): formula = self.make_formula("0.1.0")