tracks/csharp/generators/Exercises/AllYourBase.cs in trackler-2.2.1.67 vs tracks/csharp/generators/Exercises/AllYourBase.cs in trackler-2.2.1.68
- old
+ new
@@ -1,16 +1,17 @@
using System;
+using System.Collections.Generic;
using Generators.Input;
namespace Generators.Exercises
{
public class AllYourBase : GeneratorExercise
{
protected override void UpdateCanonicalData(CanonicalData canonicalData)
{
foreach (var canonicalDataCase in canonicalData.Cases)
{
- canonicalDataCase.ExceptionThrown = canonicalDataCase.Expected is null ? typeof(ArgumentException) : null;
+ canonicalDataCase.ExceptionThrown = canonicalDataCase.Expected is Dictionary<string, object> ? typeof(ArgumentException) : null;
canonicalDataCase.UseVariablesForInput = true;
canonicalDataCase.UseVariableForExpected = true;
}
}
}
\ No newline at end of file