diff options
author | Tim Hatch <tim@timhatch.com> | 2014-05-20 07:44:45 -0700 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-05-20 07:44:45 -0700 |
commit | 18f605604a9d2e2195973282b98feda330b87977 (patch) | |
tree | f71e63ab8cbda20b17657c90a0e319742bfe5df8 /tests/examplefiles/unicode.go | |
parent | cb9e8a8dd6f8d2d78c9084f2cb6a34118838c3af (diff) | |
download | pygments-18f605604a9d2e2195973282b98feda330b87977.tar.gz |
Add test for Go's unicode identifiers.
Diffstat (limited to 'tests/examplefiles/unicode.go')
-rw-r--r-- | tests/examplefiles/unicode.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/examplefiles/unicode.go b/tests/examplefiles/unicode.go new file mode 100644 index 00000000..d4bef4d1 --- /dev/null +++ b/tests/examplefiles/unicode.go @@ -0,0 +1,10 @@ +package main + +import "fmt" + +func main() { + 世界 := "Hello, world!" + さようなら := "Goodbye, world!" + fmt.Println(世界) + fmt.Println(さようなら) +} |