Skip to content

Commit e1963a5

Browse files
committed
autoformat
1 parent 7a7ff4a commit e1963a5

9 files changed

+28
-28
lines changed

go/ql/test/library-tests/semmle/go/Types/Field_getPackage.expected

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
| pkg1/tst.go:30:2:30:5 | flag | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 |
4747
| pkg2/tst.go:4:2:4:2 | g | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 |
4848
| pkg2/tst.go:8:2:8:2 | g | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 |
49-
| struct_tags.go:4:3:4:8 | field1 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
50-
| struct_tags.go:5:3:5:8 | field2 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
51-
| struct_tags.go:9:3:9:8 | field1 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
52-
| struct_tags.go:10:3:10:8 | field2 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
49+
| struct_tags.go:4:2:4:7 | field1 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
50+
| struct_tags.go:5:2:5:7 | field2 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
51+
| struct_tags.go:9:2:9:7 | field1 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
52+
| struct_tags.go:10:2:10:7 | field2 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |

go/ql/test/library-tests/semmle/go/Types/Field_hasQualifiedName2.expected

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
| pkg2/tst.go:4:2:4:2 | g | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.T | g |
6565
| pkg2/tst.go:8:2:8:2 | g | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.G | g |
6666
| pkg2/tst.go:8:2:8:2 | g | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.T | g |
67-
| struct_tags.go:4:3:4:8 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S1 | field1 |
68-
| struct_tags.go:5:3:5:8 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S1 | field2 |
69-
| struct_tags.go:9:3:9:8 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S2 | field1 |
70-
| struct_tags.go:10:3:10:8 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S2 | field2 |
67+
| struct_tags.go:4:2:4:7 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S1 | field1 |
68+
| struct_tags.go:5:2:5:7 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S1 | field2 |
69+
| struct_tags.go:9:2:9:7 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S2 | field1 |
70+
| struct_tags.go:10:2:10:7 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S2 | field2 |

go/ql/test/library-tests/semmle/go/Types/Field_hasQualifiedName3.expected

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
| pkg2/tst.go:4:2:4:2 | g | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | T | g |
6565
| pkg2/tst.go:8:2:8:2 | g | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | G | g |
6666
| pkg2/tst.go:8:2:8:2 | g | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | T | g |
67-
| struct_tags.go:4:3:4:8 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S1 | field1 |
68-
| struct_tags.go:5:3:5:8 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S1 | field2 |
69-
| struct_tags.go:9:3:9:8 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S2 | field1 |
70-
| struct_tags.go:10:3:10:8 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S2 | field2 |
67+
| struct_tags.go:4:2:4:7 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S1 | field1 |
68+
| struct_tags.go:5:2:5:7 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S1 | field2 |
69+
| struct_tags.go:9:2:9:7 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S2 | field1 |
70+
| struct_tags.go:10:2:10:7 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S2 | field2 |

go/ql/test/library-tests/semmle/go/Types/Method_hasQualifiedName2.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@
5959
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.T | half |
6060
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.T3 | half |
6161
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.T4 | half |
62-
| pkg2/tst.go:12:9:12:16 | Exported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.MixedExportedAndNot | Exported |
63-
| pkg2/tst.go:13:9:13:19 | notExported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.MixedExportedAndNot | notExported |
62+
| pkg2/tst.go:12:2:12:9 | Exported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.MixedExportedAndNot | Exported |
63+
| pkg2/tst.go:13:2:13:12 | notExported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.MixedExportedAndNot | notExported |

go/ql/test/library-tests/semmle/go/Types/Method_hasQualifiedName3.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@
5959
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 | T | half |
6060
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 | T3 | half |
6161
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 | T4 | half |
62-
| pkg2/tst.go:12:9:12:16 | Exported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | MixedExportedAndNot | Exported |
63-
| pkg2/tst.go:13:9:13:19 | notExported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | MixedExportedAndNot | notExported |
62+
| pkg2/tst.go:12:2:12:9 | Exported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | MixedExportedAndNot | Exported |
63+
| pkg2/tst.go:13:2:13:12 | notExported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | MixedExportedAndNot | notExported |

go/ql/test/library-tests/semmle/go/Types/Methods.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
| Foo | half | pkg1/tst.go:33:16:33:19 | half |
2626
| GenericInterface | GetT | generic.go:33:2:33:5 | GetT |
2727
| MixedExportedAndNot | Exported | pkg1/interfaces.go:36:2:36:9 | Exported |
28-
| MixedExportedAndNot | Exported | pkg2/tst.go:12:9:12:16 | Exported |
28+
| MixedExportedAndNot | Exported | pkg2/tst.go:12:2:12:9 | Exported |
2929
| MixedExportedAndNot | notExported | pkg1/interfaces.go:37:2:37:12 | notExported |
30-
| MixedExportedAndNot | notExported | pkg2/tst.go:13:9:13:19 | notExported |
30+
| MixedExportedAndNot | notExported | pkg2/tst.go:13:2:13:12 | notExported |
3131
| MyInterface | clone | generic.go:48:2:48:6 | clone |
3232
| MyInterface | dummy1 | generic.go:49:2:49:7 | dummy1 |
3333
| MyInterface | dummy2 | generic.go:50:2:50:7 | dummy2 |

go/ql/test/library-tests/semmle/go/Types/pkg2/tst.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ type G struct {
99
}
1010

1111
type MixedExportedAndNot interface {
12-
Exported()
13-
notExported()
12+
Exported()
13+
notExported()
1414
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
| struct { field1 int `tag1a`; field2 int `tag2a` } | struct_tags.go:4:3:4:8 | field1 | tag1a |
2-
| struct { field1 int `tag1a`; field2 int `tag2a` } | struct_tags.go:5:3:5:8 | field2 | tag2a |
3-
| struct { field1 int `tag1b`; field2 int `tag2b` } | struct_tags.go:9:3:9:8 | field1 | tag1b |
4-
| struct { field1 int `tag1b`; field2 int `tag2b` } | struct_tags.go:10:3:10:8 | field2 | tag2b |
1+
| struct { field1 int `tag1a`; field2 int `tag2a` } | struct_tags.go:4:2:4:7 | field1 | tag1a |
2+
| struct { field1 int `tag1a`; field2 int `tag2a` } | struct_tags.go:5:2:5:7 | field2 | tag2a |
3+
| struct { field1 int `tag1b`; field2 int `tag2b` } | struct_tags.go:9:2:9:7 | field1 | tag1b |
4+
| struct { field1 int `tag1b`; field2 int `tag2b` } | struct_tags.go:10:2:10:7 | field2 | tag2b |
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package main
22

33
type S1 struct {
4-
field1 int `tag1a`
5-
field2 int `tag2a`
4+
field1 int `tag1a`
5+
field2 int `tag2a`
66
}
77

88
type S2 struct {
9-
field1 int `tag1b`
10-
field2 int `tag2b`
9+
field1 int `tag1b`
10+
field2 int `tag2b`
1111
}

0 commit comments

Comments
 (0)