File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,9 @@ func nowMillis() int64 {
94
94
}
95
95
96
96
func TestDeepNestedLabelPerformance (t * testing.T ) {
97
+ if testing .Short () {
98
+ t .Skip ("skipping performance test in short mode" )
99
+ }
97
100
markdown := New (WithRendererOptions (
98
101
html .WithXHTML (),
99
102
html .WithUnsafe (),
@@ -111,6 +114,9 @@ func TestDeepNestedLabelPerformance(t *testing.T) {
111
114
}
112
115
113
116
func TestManyProcessingInstructionPerformance (t * testing.T ) {
117
+ if testing .Short () {
118
+ t .Skip ("skipping performance test in short mode" )
119
+ }
114
120
markdown := New (WithRendererOptions (
115
121
html .WithXHTML (),
116
122
html .WithUnsafe (),
@@ -128,6 +134,9 @@ func TestManyProcessingInstructionPerformance(t *testing.T) {
128
134
}
129
135
130
136
func TestManyCDATAPerformance (t * testing.T ) {
137
+ if testing .Short () {
138
+ t .Skip ("skipping performance test in short mode" )
139
+ }
131
140
markdown := New (WithRendererOptions (
132
141
html .WithXHTML (),
133
142
html .WithUnsafe (),
@@ -145,6 +154,9 @@ func TestManyCDATAPerformance(t *testing.T) {
145
154
}
146
155
147
156
func TestManyDeclPerformance (t * testing.T ) {
157
+ if testing .Short () {
158
+ t .Skip ("skipping performance test in short mode" )
159
+ }
148
160
markdown := New (WithRendererOptions (
149
161
html .WithXHTML (),
150
162
html .WithUnsafe (),
@@ -162,6 +174,9 @@ func TestManyDeclPerformance(t *testing.T) {
162
174
}
163
175
164
176
func TestManyCommentPerformance (t * testing.T ) {
177
+ if testing .Short () {
178
+ t .Skip ("skipping performance test in short mode" )
179
+ }
165
180
markdown := New (WithRendererOptions (
166
181
html .WithXHTML (),
167
182
html .WithUnsafe (),
You can’t perform that action at this time.
0 commit comments