mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Added aliasing of standard as a feature of standard
This commit is contained in:
@@ -39,4 +39,12 @@
|
||||
}
|
||||
|
||||
|
||||
//test importing as an alias
|
||||
{
|
||||
import standard as std;
|
||||
|
||||
assert std["clock"]().length() == 24, "import library as alias failed";
|
||||
}
|
||||
|
||||
|
||||
print "All good";
|
||||
|
||||
Reference in New Issue
Block a user