Skip to content

Commit

Permalink
refactor: rewrite listing tests for table 13.01
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Tanner authored and BenjaminMichaelis committed Sep 20, 2023
1 parent 34f983b commit 8c0ca7e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Chapter13.Tests/Table13.01.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ public class LambdaHighlightTests
/* 1. */ [DataRow(".a")]
/* 2. */ [DataRow(".b")]
/* 3. */ [DataRow(".c")]
/* 4. */ [DataRow(".d")]
/* 5. */ [DataRow(".e")]
/* 6. */ [DataRow(".f")]
/* 7. */ [DataRow(".g")]
/* 8. */ [DataRow(".h")]
/* 9. */ [DataRow(".i")]
/* 10. */ [DataRow(".j")]
/* 4. */ [DataRow(".d", "CS0023")]
/* 5. */ [DataRow(".e", "CS0837")]
/* 6. */ [DataRow(".f", "CS0029", "CS1662")]
/* 7. */ [DataRow(".g", "CS8070", "CS1632")]
/* 8. */ [DataRow(".h", "CS0103")]
/* 9. */ [DataRow(".i", "CS0165")]
/* 10. */ [DataRow(".j", "CS0165")]
public async Task ParseAndCompile(string fileNameSuffix, params string[] errorIds)
{
await CompilerAssert.CompileAsync($"Table13.01{fileNameSuffix}.LambdaExpressionNotesAndExamples.cs", errorIds);
Expand Down

0 comments on commit 8c0ca7e

Please sign in to comment.