File tree Expand file tree Collapse file tree 6 files changed +27
-11
lines changed Expand file tree Collapse file tree 6 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 1
1
install :
2
- # TODO: Use Desired state configuration or a block script.
3
- - ps : write-output "installing sublime text 3"
4
- - ps : start-filedownload "http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203059%20x64.zip"
5
- - ps : write-output "installing Sublime%20Text%20Build%203059%20x64.zip"
6
- - ps : 7z.exe x "Sublime%20Text%20Build%203059%20x64.zip" -o"C:\st" > $null
7
- - ps : mkdir "C:\st\Data\Packages" -force > $null
8
- - ps : mkdir "C:\st\Data\Packages\PowerShell" -force > $null
9
- - ps : cp -Recurse * "C:\st\Data\Packages\PowerShell" -Force
10
- - ps : git clone -q --branch=master https://github.com/my-personal-forks/UnitTesting.git "C:\st\Data\Packages\UnitTesting"
2
+ - ps : >-
3
+ write-output "installing sublime text 3"
4
+ start-filedownload "http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203059%20x64.zip"
5
+ write-output "installing Sublime%20Text%20Build%203059%20x64.zip"
6
+ 7z.exe x "Sublime%20Text%20Build%203059%20x64.zip" -o"C:\st" > $null
7
+ mkdir "C:\st\Data\Packages" -force > $null
8
+ mkdir "C:\st\Data\Packages\PowerShell" -force > $null
9
+ cp -Recurse * "C:\st\Data\Packages\PowerShell" -Force
10
+ git clone -q --branch=master https://github.com/my-personal-forks/UnitTesting.git "C:\st\Data\Packages\UnitTesting"
11
+ write-output "installing pester"
12
+ cinst pester
11
13
12
14
build : false
13
15
Original file line number Diff line number Diff line change
1
+ <#
2
+
3
+ This Pester UT file consumes tokens generated by python unit test Test_TokenGenerator.testGetTokens .
4
+ You need to run python tests first to make it work.
5
+
6
+ #>
7
+
8
+ Describe " Syntax highlighting" {
9
+ Context " bla" {
10
+ It " test" {
11
+ 1 | Should be 1
12
+ }
13
+ }
14
+ }
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
- from PowerShell .tests import PowerShellSyntaxTest
1
+ from PowerShell .tests . py import PowerShellSyntaxTest
2
2
3
3
4
4
class Test_DoubleQuoted_HereDocStrings (PowerShellSyntaxTest ):
Original file line number Diff line number Diff line change 2
2
import sublime
3
3
import json
4
4
5
- from PowerShell .tests import PowerShellSyntaxTokenTest
5
+ from PowerShell .tests . py import PowerShellSyntaxTokenTest
6
6
7
7
class Test_TokenGenerator (PowerShellSyntaxTokenTest ):
8
8
def testGetTokens (self ):
You can’t perform that action at this time.
0 commit comments