summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-07-15 14:02:20 -0400
committergit <[email protected]>2024-07-15 18:12:37 +0000
commitc06f79c57530d54b9ae05e13680bc79e661d5be0 (patch)
tree2abcc67b32c88f0a6eb253610c711e07b70145cb /test
parent8080de04be8e99e71309745822a9d436cc4ae37c (diff)
[ruby/prism] Fix up implicit flags
https://github.com/ruby/prism/commit/f4152c1f50
Diffstat (limited to 'test')
-rw-r--r--test/prism/snapshots/integer_operations.txt8
-rw-r--r--test/prism/snapshots/multi_write.txt2
-rw-r--r--test/prism/snapshots/ranges.txt8
-rw-r--r--test/prism/snapshots/seattlerb/call_gt.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_lt.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_lte.txt2
-rw-r--r--test/prism/snapshots/whitequark/send_binary_op.txt8
7 files changed, 16 insertions, 16 deletions
diff --git a/test/prism/snapshots/integer_operations.txt b/test/prism/snapshots/integer_operations.txt
index 39a2d8eebf..9962ccf247 100644
--- a/test/prism/snapshots/integer_operations.txt
+++ b/test/prism/snapshots/integer_operations.txt
@@ -238,7 +238,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (25,0)-(25,5))
- │ ├── flags: newline, ignore_visibility
+ │ ├── flags: newline
│ ├── receiver:
│ │ @ IntegerNode (location: (25,0)-(25,1))
│ │ ├── flags: static_literal, decimal
@@ -276,7 +276,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (29,0)-(29,6))
- │ ├── flags: newline, ignore_visibility
+ │ ├── flags: newline
│ ├── receiver:
│ │ @ IntegerNode (location: (29,0)-(29,1))
│ │ ├── flags: static_literal, decimal
@@ -371,7 +371,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (39,0)-(39,5))
- │ ├── flags: newline, ignore_visibility
+ │ ├── flags: newline
│ ├── receiver:
│ │ @ IntegerNode (location: (39,0)-(39,1))
│ │ ├── flags: static_literal, decimal
@@ -390,7 +390,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (41,0)-(41,6))
- │ ├── flags: newline, ignore_visibility
+ │ ├── flags: newline
│ ├── receiver:
│ │ @ IntegerNode (location: (41,0)-(41,1))
│ │ ├── flags: static_literal, decimal
diff --git a/test/prism/snapshots/multi_write.txt b/test/prism/snapshots/multi_write.txt
index 68fa62cf92..fa36f50423 100644
--- a/test/prism/snapshots/multi_write.txt
+++ b/test/prism/snapshots/multi_write.txt
@@ -53,7 +53,7 @@
│ ├── flags: newline
│ ├── expression:
│ │ @ LocalVariableWriteNode (location: (3,0)-(3,10))
- │ │ ├── flags: newline
+ │ │ ├── flags: ∅
│ │ ├── name: :foo
│ │ ├── depth: 0
│ │ ├── name_loc: (3,0)-(3,3) = "foo"
diff --git a/test/prism/snapshots/ranges.txt b/test/prism/snapshots/ranges.txt
index 7c2175791b..81dbe3d901 100644
--- a/test/prism/snapshots/ranges.txt
+++ b/test/prism/snapshots/ranges.txt
@@ -361,7 +361,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (35,0)-(35,7))
- │ ├── flags: newline, ignore_visibility
+ │ ├── flags: newline
│ ├── receiver:
│ │ @ RangeNode (location: (35,0)-(35,3))
│ │ ├── flags: static_literal
@@ -385,7 +385,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (37,0)-(37,7))
- │ ├── flags: newline, ignore_visibility
+ │ ├── flags: newline
│ ├── receiver:
│ │ @ RangeNode (location: (37,0)-(37,3))
│ │ ├── flags: static_literal
@@ -409,7 +409,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (39,0)-(39,8))
- │ ├── flags: newline, ignore_visibility
+ │ ├── flags: newline
│ ├── receiver:
│ │ @ RangeNode (location: (39,0)-(39,3))
│ │ ├── flags: static_literal
@@ -433,7 +433,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (41,0)-(41,8))
- │ ├── flags: newline, ignore_visibility
+ │ ├── flags: newline
│ ├── receiver:
│ │ @ RangeNode (location: (41,0)-(41,3))
│ │ ├── flags: static_literal
diff --git a/test/prism/snapshots/seattlerb/call_gt.txt b/test/prism/snapshots/seattlerb/call_gt.txt
index b1ee64e57c..22371dd8ca 100644
--- a/test/prism/snapshots/seattlerb/call_gt.txt
+++ b/test/prism/snapshots/seattlerb/call_gt.txt
@@ -6,7 +6,7 @@
├── flags: ∅
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,5))
- ├── flags: newline, ignore_visibility
+ ├── flags: newline
├── receiver:
│ @ IntegerNode (location: (1,0)-(1,1))
│ ├── flags: static_literal, decimal
diff --git a/test/prism/snapshots/seattlerb/call_lt.txt b/test/prism/snapshots/seattlerb/call_lt.txt
index 6c5b5f2213..bec3deddd0 100644
--- a/test/prism/snapshots/seattlerb/call_lt.txt
+++ b/test/prism/snapshots/seattlerb/call_lt.txt
@@ -6,7 +6,7 @@
├── flags: ∅
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,5))
- ├── flags: newline, ignore_visibility
+ ├── flags: newline
├── receiver:
│ @ IntegerNode (location: (1,0)-(1,1))
│ ├── flags: static_literal, decimal
diff --git a/test/prism/snapshots/seattlerb/call_lte.txt b/test/prism/snapshots/seattlerb/call_lte.txt
index 9fadb1f981..a71e03ee12 100644
--- a/test/prism/snapshots/seattlerb/call_lte.txt
+++ b/test/prism/snapshots/seattlerb/call_lte.txt
@@ -6,7 +6,7 @@
├── flags: ∅
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,6))
- ├── flags: newline, ignore_visibility
+ ├── flags: newline
├── receiver:
│ @ IntegerNode (location: (1,0)-(1,1))
│ ├── flags: static_literal, decimal
diff --git a/test/prism/snapshots/whitequark/send_binary_op.txt b/test/prism/snapshots/whitequark/send_binary_op.txt
index a020262b1d..49a2cffa65 100644
--- a/test/prism/snapshots/whitequark/send_binary_op.txt
+++ b/test/prism/snapshots/whitequark/send_binary_op.txt
@@ -240,7 +240,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (19,0)-(19,7))
- │ ├── flags: newline, ignore_visibility
+ │ ├── flags: newline
│ ├── receiver:
│ │ @ CallNode (location: (19,0)-(19,3))
│ │ ├── flags: variable_call, ignore_visibility
@@ -292,7 +292,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (23,0)-(23,8))
- │ ├── flags: newline, ignore_visibility
+ │ ├── flags: newline
│ ├── receiver:
│ │ @ CallNode (location: (23,0)-(23,3))
│ │ ├── flags: variable_call, ignore_visibility
@@ -422,7 +422,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (33,0)-(33,7))
- │ ├── flags: newline, ignore_visibility
+ │ ├── flags: newline
│ ├── receiver:
│ │ @ CallNode (location: (33,0)-(33,3))
│ │ ├── flags: variable_call, ignore_visibility
@@ -448,7 +448,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (35,0)-(35,8))
- │ ├── flags: newline, ignore_visibility
+ │ ├── flags: newline
│ ├── receiver:
│ │ @ CallNode (location: (35,0)-(35,3))
│ │ ├── flags: variable_call, ignore_visibility