fix test failure of icon scan on windows

This commit is contained in:
Hiroyasu Nishiyama 2018-05-24 12:06:39 +09:00
parent 184b1b018c
commit 83854c28db
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ describe("red/nodes/registry/registry",function() {
}
},icons: [{path:testIcon,icons:['test_icon.png']}]});
var iconPath = typeRegistry.getNodeIconPath('test-module','test_icon.png');
iconPath.should.eql(testIcon+"/test_icon.png");
iconPath.should.eql(path.resolve(testIcon+"/test_icon.png"));
});
it('returns the debug icon when getting an unknown module', function() {