blob: 177b94e57d1f88681cad81d704210321f8c22ff4 [file] [log] [blame]
package gls.ch03.s01;
/**
* Except for comments, identifiers and the contents of ... string
* literals, all input elements are formed from ASCII characters.
*
* TODO: Find a better way to test these things
* Note that this is a little hard to test since the input file is ASCII.
*/
class Unicode1 extends GroovyTestCase {
public void testComments() {
// Unicode is allowed in comments
// This is a comment \u0410\u0406\u0414\u0419
/* Another comment \u05D0\u2136\u05d3\u05d7 */
/**/ // Tiny comment
/***/ // Also valid
// Need to test string literals and identifiers
println "All is well"
}
}