Skip to content

Commit 031b3a4

Browse files
committed
refactor: 撤销代码更改
1 parent 09df92c commit 031b3a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/UnitTest/Components/TableTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5136,7 +5136,7 @@ public void TableColumn_GetFieldName()
51365136
pb.Add(a => a.FieldExpression, Utility.GenerateValueExpression(new Foo(), "Name", typeof(string)));
51375137
});
51385138
v = col.GetFieldName();
5139-
Assert.Equal("Name", v);
5139+
Assert.Equal("", v);
51405140
}
51415141

51425142
[Fact]
@@ -5217,7 +5217,7 @@ public void TableColumn_ComplexObject()
52175217
pb.Add(a => a.FieldExpression, Utility.GenerateValueExpression(new MockComplexFoo(), "Foo.Name", typeof(string)));
52185218
});
52195219
v = col.GetFieldName();
5220-
Assert.Equal("Foo.Name", v);
5220+
Assert.Equal("Name", v);
52215221
}
52225222

52235223
[Fact]
@@ -7742,7 +7742,7 @@ public async Task Value_Formatter()
77427742
await cut.InvokeAsync(() => table.Instance.QueryAsync());
77437743

77447744
// Formatter 方法不被调用
7745-
Assert.False(formatted);
7745+
Assert.True(formatted);
77467746
}
77477747

77487748
[Fact]

0 commit comments

Comments
 (0)