MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / test_replace_string

Function test_replace_string

tests/test_ast_rewrite.py:43–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42
43def test_replace_string():
44 src = """
45 "something".replace("s", "a")
46 """
47 tree = process_source_code(src)
48 assert isinstance(tree, String)
49 assert str(tree) == "aomething"
50
51
52def test_binop_string():

Callers

nothing calls this directly

Calls 1

process_source_codeFunction · 0.85

Tested by

no test coverage detected