Skip to content

Commit 58682c4

Browse files
Update irbuild-str.test
1 parent d63eafc commit 58682c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mypyc/test-data/irbuild-str.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -638,11 +638,11 @@ floating: Final = 3.14
638638
boolean: Final = True
639639

640640
def test(x: str) -> str:
641-
return f"{string}{integer}{floating}{boolean}{x}{boolean}{floating}{integer}{string}{x}{string}{integer}{floating}{boolean}"
641+
return f"{string[:3]}{integer}{floating}{boolean}{x}{boolean}{floating}{integer}{string}{x}{string}{integer}{floating}{boolean}"
642642
def test2(x: str) -> str:
643-
return f"{string}{integer}{floating}{boolean}{x}{boolean}{floating}{integer}{string}{x}{string}{integer}{floating}{boolean}{x}"
643+
return f"{string[-3:]}{integer}{floating}{boolean}{x}{boolean}{floating}{integer}{string}{x}{string}{integer}{floating}{boolean}{x}"
644644
def test3(x: str) -> str:
645-
return f"{x}{string}{integer}{floating}{boolean}{x}{boolean}{floating}{integer}{string}{x}{string}{integer}{floating}{boolean}{x}"
645+
return f"{x}{string[:]}{integer}{floating}{boolean}{x}{boolean}{floating}{integer}{string}{x}{string}{integer}{floating}{boolean}{x}"
646646

647647
[out]
648648
def test(x):

0 commit comments

Comments
 (0)