Skip to content

Commit 9b65c95

Browse files
authored
Update runtests.jl
1 parent 6a2286f commit 9b65c95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function naive_sum(xs)
1717
return s
1818
end
1919

20-
foo(x) = x+y
20+
f(x) = x+y
2121

2222
function f2(x)
2323
foo = y
@@ -63,7 +63,7 @@ my_stable_add_undecorated(y) = my_add(y)
6363
ws = Traceur.warnings(() -> naive_sum([1.0]))
6464
@test warns_for(ws, "assigned", "returns")
6565

66-
ws = Traceur.warnings(() -> foo(1))
66+
ws = Traceur.warnings(() -> f(1))
6767
@test warns_for(ws, "global", "dispatch", "returns")
6868

6969
ws = Traceur.warnings(() -> f2(1))

0 commit comments

Comments
 (0)