Files
wiicompiled/translator/tests/Translator.Tests/ProductionTranslationPolicyTests.cs
T
patchzyy ec226e8348 init
2026-08-23 17:10:50 +02:00

15 lines
580 B
C#

namespace Translator.Tests;
public sealed class ProductionTranslationPolicyTests
{
[Fact]
public void ProductionProjectIsStrict()
{
var repositoryRoot = ProjectPathsForTests.FindRepositoryRoot();
var productionProject = File.ReadAllText(
Path.Combine(repositoryRoot, "projects", "mkwii", "recomp.yml"));
Assert.Contains("allow_unsupported_instructions: false", productionProject, StringComparison.Ordinal);
Assert.DoesNotContain("allow_unsupported_instructions: true", productionProject, StringComparison.Ordinal);
}
}