1. Pypy
  2. Untitled project
  3. lang-js

Commits

Andrews Medina  committed ea1db4c

fixed typo.

  • Participants
  • Parent commits d0c0e12
  • Branches default

Comments (0)

Files changed (1)

File test/test_array.py

View file
  • Ignore whitespace
 from test.test_interp import assertv, assertp
 
 
-def test_arrya_last_index_of(capsys):
+def test_array_last_index_of(capsys):
     assertp("var a = [2, 5, 9, 2]; print(a.lastIndexOf(2));", "3", capsys)
     assertp("var a = [2, 5, 9, 2]; print(a.lastIndexOf(7));", "-1", capsys)
     assertp("var a = [2, 5, 9, 2]; print(a.lastIndexOf(2, 3));", "3", capsys)