Skip to content

Commit af8657a

Browse files
author
Josh Bodah
committed
add failing spec
1 parent 34873ee commit af8657a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

spec/indent/nested_module_spec.rb

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
require 'spec_helper'
2+
3+
describe 'nested modules' do
4+
i <<~EOF
5+
case System.argv do
6+
["--test"] ->
7+
ExUnit.start()
8+
9+
defmodule FrequencyTest do
10+
use ExUnit.Case
11+
12+
import Frequency
13+
14+
test "final_frequency" do
15+
assert repeated_frequency([
16+
17+
]) == 2
18+
end
19+
end
20+
end
21+
EOF
22+
end

0 commit comments

Comments
 (0)