0
  A   ˆl–Ü4ý( ©”u( 	•íÀà™S�ÿ�þZqå›”D|2!)üÿÆƒD÷Å_ŠI|¥�+Wé3ž¯ÁÃ h    from ...tests import TestCaseWithTransport


class TestBlackbox(TestCaseWithTransport):

    def setUp(self):
        super().setUp()
        wt = self.make_branch_and_tree('.')
        self.build_tree_contents([('foo.c', '#include <stdio.h>\n')])
        wt.add('foo.c')
        wt.commit(message='1', committer='Fero <fero@example.com>', rev_id=b'1')
        wt.commit(message='2', committer='Fero <fero@example.com>', rev_id=b'2')
        wt.commit(message='3', committer='Jano <jano@example.com>', rev_id=b'3')
        wt.commit(message='4', committer='Jano <jano@example.com>',
                  authors=['Vinco <vinco@example.com>'], rev_id=b'4')
        wt.commit(message='5', committer='Ferko <fero@example.com>', rev_id=b'5')

    def test_stats(self):
        (out, err) = self.run_bzr('stats')
        self.assertEqual(out, """\
   3 Fero <fero@example.com>
     Other names:
        2 Fero
        1 Ferko
   1 Vinco <vinco@example.com>
   1 Jano <jano@example.com>
""")

    def test_credits(self):
        (out, err) = self.run_bzr('credits')
        self.assertEqual(out, """\
Code:
Fero <fero@example.com>

""")
  /   	ˆ{‹„„-i[D<†ªoZƒ›Ù«È609_‘I|¥‰ÓMdœv ©ƒ†ü+=ÄÆ a    	‹      Õ—ÑnÛ †ïûŒ‹Ý%Çi»]´SWZ´6�ÚLÓ4M£Ú`‰ë=ýŽílM«DÛ¤u’oÀÀçÿ°8Æñ«äf4û2½$f×WdúéýÕxDhàóÉ ™%íÀi? \N(¡iÅ@Y–ýò¤oÝ
f·�†<;œ¡/ƒ¤ì(®ûØ‰SÅ%Ö$:dŠ��TÄ.	ØuðZ*œWy�j£…òõsP9+USD ŠuKíò’;5oŠ´òZð¬m	.Rº^7Š¡�‚qa8^XYÕ~/C4 |ÑX¨‹CJ6<Ó+3¤Á”Å:_ïÄ�‚ÖxXdÜÜ÷WzI	ÏÂ�~�n¾¡BZÏf1'©SË!}7NÎo†	ež«ø~Í5j.(»â>�ÜJ½ÔJßµâ;ýýð‚I«I”NA[ó(DÜE6óGÖ7H�º]U+‘¿Û.žlÆôâör2KÆ·í–Èz‰GwÿøMR6ÅqH¢�ÁºjKÚ†}m¾8ÿÙ$[§Wi Œ�Ù«üøµ¹7¶4»ü¸·{É…MZÕ<ÓFÍ=¾@Êötî<s|¿í½ãˆDÑ–ä€ÏÿÇÿˆ¦1�hÙAã™Ú¨Œ²¦ê }³ÎÊÍírîUð”=mwè×oNCÁ~0{Qv` ƒˆ>Å„%ç˜ß�ÅcügÝFÊyñ„Û]jrsG“q¨
4_—4¿ÆLl0l[w ä•¯0÷Þ
ÍƒÞèPQ¶·ûåñþðžÛpÍÝ;†ö_à"¡”›n        ˆÃ‘äÇò 8à#to2)?ŸÊƒh¹ÉÄÆ      0
  M   ˆl–Ým_J *eJe@=q–®4Ê˜´o�þe«7(E,mH'
@?ËƒhoÊÂa–Ãa¾”Ò~êq@·q—î6%1hßÈ ¯    """
    pygments.lexers.nix
    ~~~~~~~~~~~~~~~~~~~

    Lexers for the NixOS Nix language.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
"""

import re

from pygments.lexer import RegexLexer, include
from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
    Number, Punctuation, Literal

__all__ = ['NixLexer']


class NixLexer(RegexLexer):
    """
    For the Nix language.

    .. versionadded:: 2.0
    """

    name = 'Nix'
    url = 'http://nixos.org/nix/'
    aliases = ['nixos', 'nix']
    filenames = ['*.nix']
    mimetypes = ['text/x-nix']

    keywords = ['rec', 'with', 'let', 'in', 'inherit', 'assert', 'if',
                'else', 'then', '...']
    builtins = ['import', 'abort', 'baseNameOf', 'dirOf', 'isNull', 'builtins',
                'map', 'removeAttrs', 'throw', 'toString', 'derivation']
    operators = ['++', '+', '?', '.', '!', '//', '==',
                 '!=', '&&', '||', '->', '=']

    punctuations = ["(", ")", "[", "]", ";", "{", "}", ":", ",", "@"]

    tokens = {
        'root': [
            # comments starting with #
            (r'#.*$', Comment.Single),

            # multiline comments
            (r'/\*', Comment.Multiline, 'comment'),

            # whitespace
            (r'\s+', Text),

            # keywords
            ('(%s)' % '|'.join(re.escape(entry) + '\\b' for entry in keywords), Keyword),

            # highlight the builtins
            ('(%s)' % '|'.join(re.escape(entry) + '\\b' for entry in builtins),
             Name.Builtin),

            (r'\b(true|false|null)\b', Name.Constant),

            # operators
            ('(%s)' % '|'.join(re.escape(entry) for entry in operators),
             Operator),

            # word operators
            (r'\b(or|and)\b', Operator.Word),

            # punctuations
            ('(%s)' % '|'.join(re.escape(entry) for entry in punctuations), Punctuation),

            # integers
            (r'[0-9]+', Number.Integer),

            # strings
          