From ea4162dd985fa3ded2365a7b170cb0894b7f1b0c Mon Sep 17 00:00:00 2001 From: Stefan Tolksdorf Date: Wed, 27 Sep 2023 19:59:27 +0200 Subject: [PATCH] Add test for get_current_version --- tests/version/commands/test_java.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/version/commands/test_java.py b/tests/version/commands/test_java.py index 4dfaab037..b5333c335 100644 --- a/tests/version/commands/test_java.py +++ b/tests/version/commands/test_java.py @@ -79,9 +79,7 @@ def test_getting_version_no_files_configured(self): encoding="utf-8", ) - JavaVersionCommand( - SemanticVersioningScheme - ).get_current_version() + JavaVersionCommand(SemanticVersioningScheme).get_current_version() version_file_path.unlink()