app.nit: add default behavior to `TextAsset::load` for unit tests
[nit.git] / lib / app / assets.nit
index 8c2dc5c..b67bcd2 100644 (file)
@@ -37,7 +37,7 @@ class TextAsset
        redef var to_s = load is lazy
 
        # Load this asset
-       fun load: String is abstract
+       fun load: String do return ""
 
        # Error on the last call to `load`, if any
        var error: nullable Error = null