summaryrefslogtreecommitdiff
path: root/test/gtest
diff options
context:
space:
mode:
authorAshley Nelson <nashley@google.com>2023-11-15 20:58:02 -0800
committerGitHub <noreply@github.com>2023-11-15 20:58:02 -0800
commit2412c323cb6403033afb67d6b32c2e36e72d4ce7 (patch)
tree91a97728bf083ba81c1009c352ce5c67a6e1ad5e /test/gtest
parent1fcb57e5c424cfb42f9c0e61e9b7b5485cb03896 (diff)
downloadbinaryen-2412c323cb6403033afb67d6b32c2e36e72d4ce7.tar.gz
binaryen-2412c323cb6403033afb67d6b32c2e36e72d4ce7.tar.bz2
binaryen-2412c323cb6403033afb67d6b32c2e36e72d4ce7.zip
[Outlining] Adding more tests (#6117)
Checking a couple of testing TODOs off and adding more tests of the outlining pass for outlining: - a sequence at the beginning of an existing function - a sequence that is outlined into a function that takes no arguments - multiple sequences from the same source function into different outlined functions
Diffstat (limited to 'test/gtest')
-rw-r--r--test/gtest/stringify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gtest/stringify.cpp b/test/gtest/stringify.cpp
index 59b7db6e1..3e50c6d4c 100644
--- a/test/gtest/stringify.cpp
+++ b/test/gtest/stringify.cpp
@@ -266,7 +266,7 @@ TEST_F(StringifyTest, Substrings) {
// 10, 11, 6 appears at idx 18 and again at 27
SuffixTree::RepeatedSubstring{3u, (std::vector<unsigned>{23, 34})},
// 11, 6 appears at idx 32, 19 and again at 28
- SuffixTree::RepeatedSubstring{2u, (std::vector<unsigned>{40, 24, 35})},
+ SuffixTree::RepeatedSubstring{2u, (std::vector<unsigned>{24, 35, 40})},
// 7, 6 appears at idx 11 and again at 24
SuffixTree::RepeatedSubstring{2u, (std::vector<unsigned>{14, 30})}}));
}