Get lessons order from filenames. Fix #196

This commit is contained in:
Tom Gurion
2017-07-11 21:21:15 +01:00
parent 2fc67561d9
commit 588018409d
2 changed files with 32 additions and 24 deletions

9
test/runner_test.exs Normal file
View File

@@ -0,0 +1,9 @@
defmodule RunnerTest do
use ExUnit.Case, async: true
test "path to number" do
path = "lib/koans/01_just_an_example.ex"
assert Runner.path_to_number(path) == 1
end
end