Commit 7422281
Improve Aliases test
Restricting to alias types in the source code stops the results from
changing when the standard library changes.
Using `pp()` instead of `getName` lets us see the results where the
underlying type doesn't have a name.1 parent c7a5f33 commit 7422281
File tree
2 files changed
+5
-15
lines changed- go/ql/test/library-tests/semmle/go/Types
2 files changed
+5
-15
lines changedLines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
0 commit comments