Skip to content

Commit 0b04654

Browse files
committed
C#: Update expected test output.
1 parent 4c966f2 commit 0b04654

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

csharp/ql/test/library-tests/csharp11/PrintAst.expected

+13
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,19 @@ Strings.cs:
599599
# 46| -1: [TypeMention] string
600600
# 46| 0: [LocalVariableAccess] access to local variable y
601601
# 46| 1: [StringLiteralUtf16] "AUTH16: "
602+
# 49| 2: [LocalVariableDeclStmt] ... ...;
603+
# 49| 0: [LocalVariableDeclAndInitExpr] ReadOnlySpan<Byte> z = ...
604+
# 49| -1: [TypeMention] ReadOnlySpan<byte>
605+
# 49| 0: [LocalVariableAccess] access to local variable z
606+
# 49| 1: [StringLiteralUtf8] "AUTH8:
607+
# 49| <username> "
608+
# 53| 3: [LocalVariableDeclStmt] ... ...;
609+
# 53| 0: [LocalVariableDeclAndInitExpr] ReadOnlySpan<Byte> w = ...
610+
# 53| -1: [TypeMention] ReadOnlySpan<byte>
611+
# 53| 0: [LocalVariableAccess] access to local variable w
612+
# 53| 1: [StringLiteralUtf8] "The nested message
613+
# 53| is UTF-8 encoded and
614+
# 53| spans multiple lines."
602615
cil/class1.cs:
603616
# 4| [Class] Class1
604617
# 6| 5: [Method] Main

csharp/ql/test/library-tests/csharp11/strings.expected

+2
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ stringliterals
1919
| Strings.cs:35:57:35:57 | "}" | StringLiteralUtf16 | String |
2020
| Strings.cs:43:17:43:27 | "AUTH8: " | StringLiteralUtf8 | ReadOnlySpan<Byte> |
2121
| Strings.cs:46:17:46:26 | "AUTH16: " | StringLiteralUtf16 | String |
22+
| Strings.cs:49:17:50:22 | "AUTH8: \n <username> " | StringLiteralUtf8 | ReadOnlySpan<Byte> |
23+
| Strings.cs:53:17:57:13 | "The nested message\n is UTF-8 encoded and\nspans multiple lines." | StringLiteralUtf8 | ReadOnlySpan<Byte> |

0 commit comments

Comments
 (0)