From 0880ddaa35752e90ad6b307f165e7207f97843f4 Mon Sep 17 00:00:00 2001 From: dawe Date: Tue, 23 Jan 2024 09:54:52 +0100 Subject: [PATCH] let the scaffolding build out of the box --- build.fsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.fsx b/build.fsx index 37b3200..fa219f2 100644 --- a/build.fsx +++ b/build.fsx @@ -104,7 +104,8 @@ open FSharp.Compiler.Text [] -let %s{camelCasedName} : Analyzer = fun (ctx : CliContext) -> async {{ return List.empty }} +let %s{camelCasedName} : Analyzer = + fun (ctx : CliContext) -> async {{ return List.empty }} """ File.WriteAllText (analyzerFilePath, analyzerContent) @@ -184,7 +185,7 @@ let NegativeTests (fileName : string) = |> getContext projectOptions |> %s{analyzerName}.%s{camelCasedName} - Assert.IsEmpty messages + Assert.That (messages, Is.Empty) }} """