Home
last modified time | relevance | path

Searched refs:exp_lines (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/usr.bin/make/unit-tests/
H A Dcheck-expect.lua53 ---@param exp_lines string[]
54 local function collect_lineno_diagnostics(exp_lines)
58 for _, line in ipairs(exp_lines) do
105 local exp_lines = load_lines(exp_fname)
106 if exp_lines == nil then return end
107 local by_location = collect_lineno_diagnostics(exp_lines)
114 while i <= #exp_lines and not exp_lines[i]:find(text, 1, true) do
117 if i <= #exp_lines then
129 while i < #exp_lines an
[all...]
/netbsd-src/external/bsd/kyua-cli/dist/utils/text/
H A Doperations_test.cpp118 std::vector< std::string > exp_lines; in ATF_TEST_CASE_BODY() local
119 exp_lines.push_back("foo bar\nbaz"); in ATF_TEST_CASE_BODY()
121 ATF_REQUIRE(exp_lines == text::refill("foo bar\nbaz", 12)); in ATF_TEST_CASE_BODY()
124 ATF_REQUIRE(exp_lines == text::refill("foo bar\nbaz", 18)); in ATF_TEST_CASE_BODY()
176 std::vector< std::string > exp_lines; in ATF_TEST_CASE_BODY() local
177 exp_lines.push_back("foo \n"); in ATF_TEST_CASE_BODY()
178 exp_lines.push_back(" bar"); in ATF_TEST_CASE_BODY()
179 ATF_REQUIRE(exp_lines == text::refill("foo \n bar", 5)); in ATF_TEST_CASE_BODY()