package loc;

import org.junit.Test;

import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;
import static org.junit.Assert.*;

public class LineCounterTest {
	@Test (expected = IOException.class)
	public void inexistantFile() throws Exception {
		LineCounter.count(Paths.get("no file"));
	}

	@Test
	public void customFile() throws IOException {
		Path path = Paths.get("tests/input/10lines");
		int count = LineCounter.count(path);
		assertEquals(10, count);
	}
}
@@ -403,21 +403,32 @@
 sts/
-input/10lines
+loc/LineCounterTest.java
 %22);%0A
@@ -485,10 +485,10 @@
 als(
-10
+22
 , co

Fix file path