fix: CI/CD verification - all tests pass (68/68), linting passes, type checking passes
This commit is contained in:
@@ -83,8 +83,8 @@ class TestConversionService:
|
||||
|
||||
output = """Here is the converted code:
|
||||
```javascript
|
||||
console.log("Hello");
|
||||
```
|
||||
console.log("Hello");
|
||||
```
|
||||
"""
|
||||
cleaned = service._clean_conversion_output(output)
|
||||
assert cleaned == 'console.log("Hello");'
|
||||
@@ -113,11 +113,11 @@ console.log("Hello");
|
||||
service = ConversionService(ollama_service=mock_service)
|
||||
|
||||
code = """
|
||||
// This is a comment
|
||||
function hello() {
|
||||
/* Block comment */
|
||||
return 1; // inline comment
|
||||
}
|
||||
// This is a comment
|
||||
function hello() {
|
||||
/* Block comment */
|
||||
return 1; // inline comment
|
||||
}
|
||||
"""
|
||||
count = service.count_comments(code)
|
||||
assert count == 3
|
||||
|
||||
Reference in New Issue
Block a user