Exemple #1
0
        protected void AssertFileContains(StepFile file, string expected, bool inlineReferences = false)
        {
            var actual = file.GetContentsAsString(inlineReferences);
            var expectedNormalizedLines = NormalizeLineEndings(expected);

            Assert.Contains(expectedNormalizedLines, actual);
        }
Exemple #2
0
        private void AssertFileContains(StepFile file, string expected, bool inlineReferences = false)
        {
            var actual = file.GetContentsAsString(inlineReferences);

            Assert.Contains(expected, actual.Trim());
        }
Exemple #3
0
        private void AssertFileContains(StepFile file, string expected)
        {
            var actual = file.GetContentsAsString();

            Assert.Contains(expected, actual);
        }