Skip to content

Commit 28f8eb1

Browse files
committed
quick bug fix
1 parent cb73420 commit 28f8eb1

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

codeflash/verification/verification_utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66

77
from pydantic.dataclasses import dataclass
88

9-
from codeflash.languages import is_javascript, get_language_support
10-
9+
from codeflash.languages import current_language_support, is_javascript
1110

1211

1312
def get_test_file_path(
@@ -16,7 +15,7 @@ def get_test_file_path(
1615
assert test_type in {"unit", "inspired", "replay", "perf"}
1716
function_name = function_name.replace(".", "_")
1817
# Use appropriate file extension based on language
19-
extension = get_language_support().get_test_file_suffix() if is_javascript() else ".py"
18+
extension = current_language_support().get_test_file_suffix() if is_javascript() else ".py"
2019
path = test_dir / f"test_{function_name}__{test_type}_test_{iteration}{extension}"
2120
if path.exists():
2221
return get_test_file_path(test_dir, function_name, iteration + 1, test_type)

0 commit comments

Comments
 (0)