tests
[m6w6/ascertain] / tests / setup.inc
diff --git a/tests/setup.inc b/tests/setup.inc
new file mode 100644 (file)
index 0000000..8459513
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+
+spl_autoload_register(function ($c) {
+       if (substr($c, 0, 10) === "ascertain\\") require_once sprintf("%s/../lib/%s.php", __DIR__, strtr($c, "\\", "/"));
+});