diff options
| author | Georg Brandl <georg@python.org> | 2021-01-18 21:24:00 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2021-01-18 22:08:36 +0100 |
| commit | 2a3d3a7d5b9c60dedf6638d876161d9563faebcf (patch) | |
| tree | 809c0b4a686db98f5954afa1944404cd9652c6b2 /tests/lexers/lighty | |
| parent | f0445be718da83541ea3401aad882f3937147263 (diff) | |
| download | pygments-git-examplefiles.tar.gz | |
Move test_examplefiles to new tests/lexers scheme.examplefiles
Diffstat (limited to 'tests/lexers/lighty')
| -rw-r--r-- | tests/lexers/lighty/example.txt | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/tests/lexers/lighty/example.txt b/tests/lexers/lighty/example.txt new file mode 100644 index 00000000..1c52c40c --- /dev/null +++ b/tests/lexers/lighty/example.txt @@ -0,0 +1,99 @@ +---input--- +fastcgi.server = ( ".php" => (( + "bin-path" => "/path/to/php-cgi", + "socket" => "/tmp/php.socket", + "max-procs" => 2, + "bin-environment" => ( + "PHP_FCGI_CHILDREN" => "16", + "PHP_FCGI_MAX_REQUESTS" => "10000" + ), + "bin-copy-environment" => ( + "PATH", "SHELL", "USER" + ), + "broken-scriptfilename" => "enable" + ))) + +---tokens--- +'fastcgi.server' Keyword +' ' Text +'=' Operator +' ' Text +'(' Punctuation +' ' Text +'".php"' Literal.String.Double +' ' Text +'=>' Operator +' ' Text +'(' Punctuation +'(' Punctuation +' \n ' Text +'"bin-path"' Literal.String.Double +' ' Text +'=>' Operator +' ' Text +'"/path/to/php-cgi"' Literal.String.Double +',' Punctuation +'\n ' Text +'"socket"' Literal.String.Double +' ' Text +'=>' Operator +' ' Text +'"/tmp/php.socket"' Literal.String.Double +',' Punctuation +'\n ' Text +'"max-procs"' Literal.String.Double +' ' Text +'=>' Operator +' ' Text +'2' Literal.Number +',' Punctuation +'\n ' Text +'"bin-environment"' Literal.String.Double +' ' Text +'=>' Operator +' ' Text +'(' Punctuation +' \n ' Text +'"PHP_FCGI_CHILDREN"' Literal.String.Double +' ' Text +'=>' Operator +' ' Text +'"16"' Literal.String.Double +',' Punctuation +'\n ' Text +'"PHP_FCGI_MAX_REQUESTS"' Literal.String.Double +' ' Text +'=>' Operator +' ' Text +'"10000"' Literal.String.Double +'\n ' Text +')' Punctuation +',' Punctuation +'\n ' Text +'"bin-copy-environment"' Literal.String.Double +' ' Text +'=>' Operator +' ' Text +'(' Punctuation +'\n ' Text +'"PATH"' Literal.String.Double +',' Punctuation +' ' Text +'"SHELL"' Literal.String.Double +',' Punctuation +' ' Text +'"USER"' Literal.String.Double +'\n ' Text +')' Punctuation +',' Punctuation +'\n ' Text +'"broken-scriptfilename"' Literal.String.Double +' ' Text +'=>' Operator +' ' Text +'"enable"' Literal.String.Double +'\n ' Text +')' Punctuation +')' Punctuation +')' Punctuation +'\n' Text |
