Skip to content

Commit 1ed0729

Browse files
Serneumwojtekmach
authored andcommitted
Fix spelling of FriezaFourthForm (#1)
1 parent f841d06 commit 1ed0729

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/oop_test.exs

+5-5
Original file line numberDiff line numberDiff line change
@@ -195,17 +195,17 @@ defmodule OOPTest do
195195
end
196196

197197
test "define final class" do
198-
final class FriezaForthForm do
198+
final class FriezaFourthForm do
199199
end
200200

201-
assert FriezaForthForm.new
201+
assert FriezaFourthForm.new
202202

203-
assert_raise RuntimeError, "cannot subclass final class #{FriezaForthForm}", fn ->
204-
class FriezaFifthForm < FriezaForthForm do
203+
assert_raise RuntimeError, "cannot subclass final class #{FriezaFourthForm}", fn ->
204+
class FriezaFifthForm < FriezaFourthForm do
205205
end
206206
end
207207

208-
purge [FriezaForthForm, FriezaFifthForm]
208+
purge [FriezaFourthForm, FriezaFifthForm]
209209
end
210210

211211
defp purge(module) when is_atom(module) do

0 commit comments

Comments
 (0)