summaryrefslogtreecommitdiffstats
path: root/src/cmd/gofmt/testdata/tabs.input
blob: 635be797c9868be699fa5cf7832369aeb0b624e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//gofmt

package main

var _ = []struct{
	S       string
	Integer int
}{
	{
		S: "Hello World",
		Integer: 42,
	},
	{
		S: "\t",
		Integer: 42,
	},
	{
		S: "	", // an actual <tab>
		Integer: 42,
	},
	{
		S: `	`, // an actual <tab>
		Integer: 42,
	},
	{
		S: "\u0009",
		Integer: 42,
	},
}