source: josm/trunk/test/unit/org/openstreetmap/josm/tools/I18nTest.groovy@ 9764

Last change on this file since 9764 was 7938, checked in by bastiK, 9 years ago

add more subversion property svn:eol=native

  • Property svn:eol-style set to native
File size: 300 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.tools
3
4class I18nTest extends GroovyTestCase {
5 void testEscape() {
6 def foobar = "{foo'bar}"
7 assert I18n.escape(foobar) == "'{'foo''bar'}'"
8 assert I18n.tr(I18n.escape(foobar)) == foobar
9 }
10}
Note: See TracBrowser for help on using the repository browser.