Пример #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);
        }
Пример #2
0
        private void AssertFileContains(StepFile file, string expected, bool inlineReferences = false)
        {
            var actual = file.GetContentsAsString(inlineReferences);

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

            Assert.Contains(expected, actual);
        }