[test] add unit tests for ruleset
We extract the rules building logic from readfile into a Ruleset.buildrules()
method to ease testing.
# Translation of mercurial-server debconf templates to Polish.# Copyright (C) 2009# This file is distributed under the same license as the mercurial-server package.## Michał Kułach <michal.kulach@gmail.com>, 2012.msgid ""msgstr """Project-Id-Version: \n""Report-Msgid-Bugs-To: mercurial-server@packages.debian.org\n""POT-Creation-Date: 2009-12-02 18:14+0000\n""PO-Revision-Date: 2012-08-21 19:05+0200\n""Last-Translator: Michał Kułach <michal.kulach@gmail.com>\n""Language-Team: Polish <debian-l10n-polish@lists.debian.org>\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n""Language: pl\n""Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 ""|| n%100>=20) ? 1 : 2);\n""X-Generator: Lokalize 1.4\n"#. Type: boolean#. Description#: ../templates:1001msgid """Do you want the repositories to be removed when mercurial-server is purged?"msgstr """Czy repozytoria mają być usunięte podczas czyszczenia pakietu ""mercurial-server?"