Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/ast-grep/rule-tests/__snapshots__/cmhasliteralsuffix-char-snapshot.yml
5135 views
1
id: cmhasliteralsuffix-char
2
snapshots:
3
cmHasLiteralSuffix(haystack, "'"):
4
fixed: cmHasSuffix(haystack, '\'')
5
labels:
6
- source: cmHasLiteralSuffix(haystack, "'")
7
style: primary
8
start: 0
9
end: 33
10
cmHasLiteralSuffix(haystack, "\n"):
11
fixed: cmHasSuffix(haystack, '\n')
12
labels:
13
- source: cmHasLiteralSuffix(haystack, "\n")
14
style: primary
15
start: 0
16
end: 34
17
cmHasLiteralSuffix(haystack, "a"):
18
fixed: cmHasSuffix(haystack, 'a')
19
labels:
20
- source: cmHasLiteralSuffix(haystack, "a")
21
style: primary
22
start: 0
23
end: 33
24
25