diff options
author | Georg Brandl <georg@python.org> | 2021-01-20 10:57:30 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2021-01-20 10:57:30 +0100 |
commit | b40b0cca067c2e9c2f69c91abbd27e79ad243b42 (patch) | |
tree | 6f81b370c551ea06e89ff8333b5939df5625e757 /tests/snippets/powershell | |
parent | dc9bf0c256dbd88c72349822d59b25f9d8225dc6 (diff) | |
download | pygments-git-b40b0cca067c2e9c2f69c91abbd27e79ad243b42.tar.gz |
Rename "tests/lexers" to "tests/snippets" and update the contribution
docs to point to both snippets and examplefiles.
Diffstat (limited to 'tests/snippets/powershell')
-rw-r--r-- | tests/snippets/powershell/test_remoting_session.txt | 19 | ||||
-rw-r--r-- | tests/snippets/powershell/test_session.txt | 28 |
2 files changed, 47 insertions, 0 deletions
diff --git a/tests/snippets/powershell/test_remoting_session.txt b/tests/snippets/powershell/test_remoting_session.txt new file mode 100644 index 00000000..9d9db603 --- /dev/null +++ b/tests/snippets/powershell/test_remoting_session.txt @@ -0,0 +1,19 @@ +---input--- +[Long-NetBIOS-Hostname]: PS C:\> Get-ChildItem + +---tokens--- +'[' Punctuation +'Long' Name +'-NetBIOS' Name +'-Hostname' Name +']' Punctuation +':' Error +' ' Text +'PS ' Name.Builtin +'C' Name +':' Error +'\\' Punctuation +'>' Punctuation +' ' Text +'Get-ChildItem' Name.Builtin +'\n' Text diff --git a/tests/snippets/powershell/test_session.txt b/tests/snippets/powershell/test_session.txt new file mode 100644 index 00000000..38212440 --- /dev/null +++ b/tests/snippets/powershell/test_session.txt @@ -0,0 +1,28 @@ +---input--- +PS C:\> Get-ChildItem + +PS> Get-ChildItem + +PS > Get-ChildItem + +---tokens--- +'PS ' Name.Builtin +'C' Name +':' Error +'\\' Punctuation +'>' Punctuation +' ' Text +'Get-ChildItem' Name.Builtin +'\n\n' Text + +'PS' Name +'>' Punctuation +' ' Text +'Get-ChildItem' Name.Builtin +'\n\n' Text + +'PS ' Name.Builtin +'>' Punctuation +' ' Text +'Get-ChildItem' Name.Builtin +'\n' Text |