From 281b07ccff3374f12677822643df555bfea1363e Mon Sep 17 00:00:00 2001 From: gitdevjin Date: Thu, 14 Nov 2024 00:28:53 -0500 Subject: [PATCH 1/2] failed test --- tests/test_argsParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_argsParser.py b/tests/test_argsParser.py index 06f724a..fb82b0e 100644 --- a/tests/test_argsParser.py +++ b/tests/test_argsParser.py @@ -40,7 +40,7 @@ def test_arg_parser_with_source_file(mock_config): def test_arg_parser_with_more_than_two_source_files(mock_config): with patch("sys.argv", ["code_mage.py", "example.js", "sample.js"]): args = arg_parser(mock_config) - assert args.source_files == ["example.js", "sample.js"] + assert args.source_files == ["example.js"] assert args.language == "python" assert args.output == "result" From ff4636c5decceaa9ae566b96b1a9317060736800 Mon Sep 17 00:00:00 2001 From: gitdevjin Date: Thu, 14 Nov 2024 00:32:42 -0500 Subject: [PATCH 2/2] This commit fixes failed test suites --- tests/test_argsParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_argsParser.py b/tests/test_argsParser.py index fb82b0e..06f724a 100644 --- a/tests/test_argsParser.py +++ b/tests/test_argsParser.py @@ -40,7 +40,7 @@ def test_arg_parser_with_source_file(mock_config): def test_arg_parser_with_more_than_two_source_files(mock_config): with patch("sys.argv", ["code_mage.py", "example.js", "sample.js"]): args = arg_parser(mock_config) - assert args.source_files == ["example.js"] + assert args.source_files == ["example.js", "sample.js"] assert args.language == "python" assert args.output == "result"