Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(901)

Side by Side Diff: test/char_lit.go

Issue 2157041: code review 2157041: test: remove semiocolons. (Closed)
Patch Set: code review 2157041: test: remove semiocolons. Created 14 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/chan/powser2.go ('k') | test/closedchan.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // $G $F.go && $L $F.$A &&./$A.out 1 // $G $F.go && $L $F.$A &&./$A.out
2 2
3 // Copyright 2009 The Go Authors. All rights reserved. 3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style 4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file. 5 // license that can be found in the LICENSE file.
6 6
7 package main 7 package main
8 8
9 import "os" 9 import "os"
10 10
(...skipping 14 matching lines...) Expand all
25 '\'' + 25 '\'' +
26 '\000' + 26 '\000' +
27 '\123' + 27 '\123' +
28 '\x00' + 28 '\x00' +
29 '\xca' + 29 '\xca' +
30 '\xFE' + 30 '\xFE' +
31 '\u0123' + 31 '\u0123' +
32 '\ubabe' + 32 '\ubabe' +
33 '\U0010FFFF' + 33 '\U0010FFFF' +
34 '\U000ebabe' 34 '\U000ebabe'
35 ;
36 if '\U000ebabe' != 0x000ebabe { 35 if '\U000ebabe' != 0x000ebabe {
37 » » print("ebabe wrong\n"); 36 » » print("ebabe wrong\n")
38 os.Exit(1) 37 os.Exit(1)
39 } 38 }
40 if i != 0x20e213 { 39 if i != 0x20e213 {
41 » » print("number is ", i, " should be ", 0x20e213, "\n"); 40 » » print("number is ", i, " should be ", 0x20e213, "\n")
42 os.Exit(1) 41 os.Exit(1)
43 » » } 42 » }
44 } 43 }
OLDNEW
« no previous file with comments | « test/chan/powser2.go ('k') | test/closedchan.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b