Files
pplus-library/mojo/probes/string-literal-replace.mojo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

5 lines
187 B
Mojo

# probe: does a string literal have replace()? (no: it is a StringLiteral; upper, lower, find and split it has)
# expect: compile-error
def main():
print("GATTACA".replace("T", "U"))