summaryrefslogtreecommitdiff
path: root/test/libapt
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-20 08:17:43 +0100
committerMichael Vogt <mvo@debian.org>2014-01-20 08:17:43 +0100
commit7f316a3feab95370f1dd28c08c58bc3c140bf0a0 (patch)
treefd92c6a796fe39622b2d8715c46d761dc293b5ed /test/libapt
parent75c10df1533ede97e05fef3d1e2fc6a22fc4db00 (diff)
add support for multipl types in one line
Diffstat (limited to 'test/libapt')
-rw-r--r--test/libapt/sourcelist_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/libapt/sourcelist_test.cc b/test/libapt/sourcelist_test.cc
index 3597b3d58..6ab30ba67 100644
--- a/test/libapt/sourcelist_test.cc
+++ b/test/libapt/sourcelist_test.cc
@@ -22,17 +22,17 @@ void remove_tmpfile(void)
int main(int argc, char *argv[])
{
const char contents[] = ""
- "Type: deb\n"
+ "Types: deb\n"
"URIs: http://ftp.debian.org/debian\n"
"Suites: stable\n"
"Sections: main\n"
"Description: short\n"
" long description that can be very long\n"
"\n"
- "Type: deb\n"
+ "Types: deb\n"
"URIs: http://ftp.debian.org/debian\n"
- "Suite: unstable\n"
- "Section: main non-free\n"
+ "Suites: unstable\n"
+ "Sections: main non-free\n"
;
FileFd fd;