Skip to content

Commit 10116e5

Browse files
committed
add other assertion to show intent
1 parent 085ed35 commit 10116e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/DynamoDBGenerator.SourceGenerator.Tests/DynamoDBDocumentTests/ExpressionAttributeTrackerTests.cs

+3
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ public void SelfReference_AttributeNames_EnsureUniquness()
8181
new KeyValuePair<string ,string>("#Field1", "Field1"),
8282
new KeyValuePair<string ,string>("#Field2", "Field2")
8383
});
84+
85+
field1.Should().Be("#Self.#Self.#Self.#Self.#Field1");
86+
field2.Should().Be("#Self.#Self.#Self.#Field2");
8487
}
8588

8689
[Theory]

0 commit comments

Comments
 (0)