Skip to content

Commit

Permalink
90 use fluentAssertions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sevitas committed Jan 5, 2023
1 parent bd536df commit da544d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.CodeAnalysis;
using System.IO;
using System.Linq;
using Xunit;
using FluentAssertions;

namespace Kontent.Ai.ModelGenerator.Tests.Generators.Class;

Expand All @@ -29,6 +29,6 @@ protected void AssertCompiledCode(CSharpCompilation compilation)
}
}

Assert.True(result.Success, compilationErrors);
result.Success.Should().BeTrue(compilationErrors);
}
}

0 comments on commit da544d9

Please sign in to comment.