Skip to content

Commit a868e84

Browse files
author
hongwei.quhw
committed
add testcase
1 parent 8d26367 commit a868e84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rdf-file-core/src/test/java/com/alipay/rdf/file/loader/ResourceLoaderTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public void testGetInputStreamResourceKey() throws Exception{
122122
Assert.assertNotNull(resourceMap.get("testResourcekey2"));
123123
Assert.assertNotNull(resourceMap.get("testResourcekey3"));
124124
Assert.assertEquals("testResource", testInputStream.getConfig().getParam("type"));
125+
Assert.assertEquals("aa/bb/cc/dd.json", testInputStream.getPath());
125126

126127
FileDefaultConfig.DEFAULT_FILE_PARAMS.remove("key1");
127128
FileDefaultConfig.DEFAULT_FILE_PARAMS.remove("key2");

0 commit comments

Comments
 (0)