예제 #1
0
func (s *dataCleansingSuite) TestEscapeString_EscapesDollarSigns(c *gc.C) {
	c.Check("\uff04"+"a", gc.Equals, utils.EscapeString("$a"))
}
예제 #2
0
func (s *dataCleansingSuite) TestEscapeString_EscapesPeriods(c *gc.C) {
	c.Check("a"+"\uff0e"+"b", gc.Equals, utils.EscapeString("a.b"))
}