[ascii] fix test backend compatibility
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package asciilib.backends.test;
|
||||
|
||||
import asciilib.AssetsBackend;
|
||||
import sys.io.File;
|
||||
|
||||
@:build(kiss.Kiss.build())
|
||||
class TestAssetsBackend implements AssetsBackend {}
|
@@ -0,0 +1,3 @@
|
||||
(defmethod new [] 0)
|
||||
|
||||
(defmethod loadText [filePath] (File.getContent filePath))
|
Reference in New Issue
Block a user