Skip to content

Commit 17a8128

Browse files
committed
fix unit test
1 parent 8a1cbf0 commit 17a8128

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tests/Microsoft.PowerFx.Core.Tests.Shared/AssociatedDataSourcesTests/TestDelegationValidation.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ private void TestDelegableExpressions(Features features, string expression, bool
9191
{
9292
var symbolTable = new DelegatableSymbolTable();
9393
symbolTable.AddEntity(new AccountsEntity());
94-
symbolTable.AddType(new DName("Accounts"), FormulaType.Build(AccountsTypeHelper.GetDType()));
94+
symbolTable.AddVariable("varString", FormulaType.String);
95+
symbolTable.AddType(new DName("Accounts"), FormulaType.Build(AccountsTypeHelper.GetDType()));
9596

9697
var config = new PowerFxConfig(features)
9798
{

0 commit comments

Comments
 (0)