File tree 2 files changed +31
-0
lines changed
2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 32
32
</div>
33
33
</body>
34
34
</html>
35
+
36
+
37
+ - title : Nope
38
+ text : >
39
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
40
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
41
+ voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
42
+ clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
43
+ amet.
Original file line number Diff line number Diff line change
1
+ defmodule ReferenceTest do
2
+ use ExUnit.Case
3
+
4
+ paths = "_data/*.yml" |> Path . wildcard
5
+
6
+ { :ok , counter } = Agent . start_link fn -> 0 end
7
+
8
+
9
+ for path <- paths ,
10
+ document = YAML . read ( path ) ,
11
+ section <- document ,
12
+ section [ "slime" ] ,
13
+ section [ "output" ]
14
+ do
15
+ n = Agent . get counter , fn x -> x end
16
+ Agent . update counter , fn x -> x + 1 end
17
+
18
+ test "code example #{ n } (in #{ path } )" do
19
+
20
+ end
21
+ end
22
+ end
You can’t perform that action at this time.
0 commit comments