Skip to content

Commit 2a8ac0f

Browse files
committed
Update examples.
1 parent a61a15e commit 2a8ac0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sierra-test/src/main/java/org/httprpc/sierra/test/PreviewTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void run() {
4444
var n = names.size();
4545

4646
for (var i = 0; i < n; i++) {
47-
try (var inputStream = getClass().getResourceAsStream(names.get(i))) {
47+
try (var inputStream = GreetingTest.class.getResourceAsStream(names.get(i))) {
4848
Files.copy(inputStream, paths.get(i));
4949
}
5050
}

0 commit comments

Comments
 (0)