Skip to content

Commit 2134f20

Browse files
committed
Fix incorrect test
1 parent a50ad35 commit 2134f20

File tree

1 file changed

+3
-2
lines changed
  • graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/datatype

1 file changed

+3
-2
lines changed

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/datatype/ListTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2023, Oracle and/or its affiliates.
2+
* Copyright (c) 2017, 2024, Oracle and/or its affiliates.
33
* Copyright (c) 2013, Regents of the University of California
44
*
55
* All rights reserved.
@@ -108,7 +108,8 @@ public void index() {
108108
@Test
109109
public void reverse() {
110110
String source = "llist = [1,2,3,4,5]\n" + //
111-
"print(llist.reverse())\n";
111+
"llist.reverse()\n" + //
112+
"print(llist)\n";
112113

113114
assertPrints("[5, 4, 3, 2, 1]\n", source);
114115
}

0 commit comments

Comments
 (0)