mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-21 13:30:27 +08:00
6 lines
152 B
CoffeeScript
6 lines
152 B
CoffeeScript
this.testReader = (name, testCases) ->
|
|
reader = injector.get(name)
|
|
|
|
for testCase in testCases
|
|
deepEqual(reader(testCase.tested), testCase.expected)
|