diff options
author | Tim Hatch <tim@timhatch.com> | 2014-04-14 15:22:48 -0400 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-04-14 15:22:48 -0400 |
commit | dd4dc914d46c58843c5144aaad6f85bc78ed1973 (patch) | |
tree | f6694e77f32a8923a9e984204986302b5301aa22 | |
parent | 8f25afc28dcebd1132ec1f9ad897f4f1650a7bd8 (diff) | |
download | pygments-dd4dc914d46c58843c5144aaad6f85bc78ed1973.tar.gz |
Add two missing example files
-rw-r--r-- | tests/examplefiles/hello.at | 6 | ||||
-rw-r--r-- | tests/examplefiles/hello.golo | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/examplefiles/hello.at b/tests/examplefiles/hello.at new file mode 100644 index 00000000..23af2f2d --- /dev/null +++ b/tests/examplefiles/hello.at @@ -0,0 +1,6 @@ +def me := object: { + def name := "Kevin"; + def sayHello(peerName) { + system.println(peerName + " says hello!"); + }; +}; diff --git a/tests/examplefiles/hello.golo b/tests/examplefiles/hello.golo new file mode 100644 index 00000000..7e8ca214 --- /dev/null +++ b/tests/examplefiles/hello.golo @@ -0,0 +1,5 @@ +module hello.World + +function main = |args| { + println("Hello world!") +} |