~john-koepi/ubuntu/trusty/golang/default

« back to all changes in this revision

Viewing changes to src/pkg/go/scanner/scanner_test.go

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-08-03 17:04:59 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110803170459-wzd99m3567y80ila
Tags: 1:59-1
* Imported Upstream version 59
* Refresh patches to a new release
* Fix FTBFS on ARM (Closes: #634270)
* Update version.bash to work with Debian packaging and not hg
  repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
650
650
        pos int
651
651
        err string
652
652
}{
653
 
        {"\a", token.ILLEGAL, 0, "illegal character '\\a'"},
654
 
        {`#`, token.ILLEGAL, 0, "illegal character '#'"},
655
 
        {`…`, token.ILLEGAL, 0, "illegal character '…'"},
 
653
        {"\a", token.ILLEGAL, 0, "illegal character U+0007"},
 
654
        {`#`, token.ILLEGAL, 0, "illegal character U+0023 '#'"},
 
655
        {`…`, token.ILLEGAL, 0, "illegal character U+2026 '…'"},
656
656
        {`' '`, token.CHAR, 0, ""},
657
657
        {`''`, token.CHAR, 0, "illegal character literal"},
658
658
        {`'\8'`, token.CHAR, 2, "unknown escape sequence"},