@@ -32,11 +32,9 @@ pub fn load_env_file() {
32
32
#[ cfg( test) ]
33
33
mod tests {
34
34
use super :: * ;
35
- use serial_test:: serial;
36
35
use std:: env;
37
36
38
37
#[ test]
39
- #[ serial]
40
38
fn test_env_with_default_string_exists ( ) {
41
39
let key = "TEST_STRING_VAR" ;
42
40
let expected = "test_value" ;
@@ -54,7 +52,6 @@ mod tests {
54
52
}
55
53
56
54
#[ test]
57
- #[ serial]
58
55
fn test_env_with_default_string_missing ( ) {
59
56
let key = "TEST_MISSING_STRING_VAR" ;
60
57
unsafe {
@@ -67,7 +64,6 @@ mod tests {
67
64
}
68
65
69
66
#[ test]
70
- #[ serial]
71
67
fn test_env_with_default_integer_exists ( ) {
72
68
let key = "TEST_INT_VAR" ;
73
69
let expected = 42 ;
@@ -84,7 +80,6 @@ mod tests {
84
80
}
85
81
86
82
#[ test]
87
- #[ serial]
88
83
fn test_env_with_default_integer_missing ( ) {
89
84
let key = "TEST_MISSING_INT_VAR" ;
90
85
unsafe {
@@ -97,7 +92,6 @@ mod tests {
97
92
}
98
93
99
94
#[ test]
100
- #[ serial]
101
95
fn test_env_with_default_boolean_exists_true ( ) {
102
96
let key = "TEST_BOOL_TRUE_VAR" ;
103
97
unsafe {
@@ -113,7 +107,6 @@ mod tests {
113
107
}
114
108
115
109
#[ test]
116
- #[ serial]
117
110
fn test_env_with_default_boolean_exists_false ( ) {
118
111
let key = "TEST_BOOL_FALSE_VAR" ;
119
112
unsafe {
@@ -129,7 +122,6 @@ mod tests {
129
122
}
130
123
131
124
#[ test]
132
- #[ serial]
133
125
fn test_env_with_default_boolean_missing ( ) {
134
126
let key = "TEST_MISSING_BOOL_VAR" ;
135
127
unsafe {
@@ -142,7 +134,6 @@ mod tests {
142
134
}
143
135
144
136
#[ test]
145
- #[ serial]
146
137
fn test_env_with_default_boolean_invalid ( ) {
147
138
let key = "TEST_INVALID_BOOL_VAR" ;
148
139
unsafe {
@@ -158,7 +149,6 @@ mod tests {
158
149
}
159
150
160
151
#[ test]
161
- #[ serial]
162
152
fn test_env_with_default_u32_exists ( ) {
163
153
let key = "TEST_U32_VAR" ;
164
154
let expected = 42u32 ;
@@ -175,7 +165,6 @@ mod tests {
175
165
}
176
166
177
167
#[ test]
178
- #[ serial]
179
168
fn test_env_with_default_u32_negative_invalid ( ) {
180
169
let key = "TEST_U32_NEGATIVE_VAR" ;
181
170
unsafe {
@@ -191,7 +180,6 @@ mod tests {
191
180
}
192
181
193
182
#[ test]
194
- #[ serial]
195
183
fn test_env_with_default_empty_string ( ) {
196
184
let key = "TEST_EMPTY_STRING_VAR" ;
197
185
unsafe {
@@ -207,7 +195,6 @@ mod tests {
207
195
}
208
196
209
197
#[ test]
210
- #[ serial]
211
198
fn test_env_with_default_whitespace_string ( ) {
212
199
let key = "TEST_WHITESPACE_VAR" ;
213
200
unsafe {
@@ -223,7 +210,6 @@ mod tests {
223
210
}
224
211
225
212
#[ test]
226
- #[ serial]
227
213
fn test_env_with_environment ( ) {
228
214
let key = "TEST_ENVIRONMENT" ;
229
215
unsafe {
@@ -239,7 +225,6 @@ mod tests {
239
225
}
240
226
241
227
#[ test]
242
- #[ serial]
243
228
fn test_env_with_mode ( ) {
244
229
let key = "TEST_MODE" ;
245
230
unsafe {
0 commit comments