@@ -85,7 +85,7 @@ mod test {
8585
8686 #[test]
8787 unconstrained fn stores_and_loads () {
88- let env = TestEnvironment ::_new ();
88+ let env = TestEnvironment ::new ();
8989 env .private_context (|context | {
9090 let contract_address = context .this_address ();
9191
@@ -98,7 +98,7 @@ mod test {
9898
9999 #[test]
100100 unconstrained fn store_overwrites () {
101- let env = TestEnvironment ::_new ();
101+ let env = TestEnvironment ::new ();
102102 env .private_context (|context | {
103103 let contract_address = context .this_address ();
104104
@@ -114,7 +114,7 @@ mod test {
114114
115115 #[test]
116116 unconstrained fn loads_empty_slot () {
117- let env = TestEnvironment ::_new ();
117+ let env = TestEnvironment ::new ();
118118 env .private_context (|context | {
119119 let contract_address = context .this_address ();
120120
@@ -125,7 +125,7 @@ mod test {
125125
126126 #[test]
127127 unconstrained fn deletes_stored_value () {
128- let env = TestEnvironment ::_new ();
128+ let env = TestEnvironment ::new ();
129129 env .private_context (|context | {
130130 let contract_address = context .this_address ();
131131
@@ -140,7 +140,7 @@ mod test {
140140
141141 #[test]
142142 unconstrained fn deletes_empty_slot () {
143- let env = TestEnvironment ::_new ();
143+ let env = TestEnvironment ::new ();
144144 env .private_context (|context | {
145145 let contract_address = context .this_address ();
146146
@@ -152,7 +152,7 @@ mod test {
152152
153153 #[test]
154154 unconstrained fn copies_non_overlapping_values () {
155- let env = TestEnvironment ::_new ();
155+ let env = TestEnvironment ::new ();
156156 env .private_context (|context | {
157157 let contract_address = context .this_address ();
158158
@@ -174,7 +174,7 @@ mod test {
174174
175175 #[test]
176176 unconstrained fn copies_overlapping_values_with_src_ahead () {
177- let env = TestEnvironment ::_new ();
177+ let env = TestEnvironment ::new ();
178178 env .private_context (|context | {
179179 let contract_address = context .this_address ();
180180
@@ -201,7 +201,7 @@ mod test {
201201
202202 #[test]
203203 unconstrained fn copies_overlapping_values_with_dst_ahead () {
204- let env = TestEnvironment ::_new ();
204+ let env = TestEnvironment ::new ();
205205 env .private_context (|context | {
206206 let contract_address = context .this_address ();
207207
@@ -228,7 +228,7 @@ mod test {
228228
229229 #[test(should_fail_with = "copy empty slot")]
230230 unconstrained fn cannot_copy_empty_values () {
231- let env = TestEnvironment ::_new ();
231+ let env = TestEnvironment ::new ();
232232 env .private_context (|context | {
233233 let contract_address = context .this_address ();
234234
@@ -238,7 +238,7 @@ mod test {
238238
239239 #[test(should_fail_with = "not allowed to access")]
240240 unconstrained fn cannot_store_other_contract () {
241- let env = TestEnvironment ::_new ();
241+ let env = TestEnvironment ::new ();
242242 env .private_context (|context | {
243243 let contract_address = context .this_address ();
244244 let other_contract_address = AztecAddress ::from_field (contract_address .to_field () + 1 );
@@ -250,7 +250,7 @@ mod test {
250250
251251 #[test(should_fail_with = "not allowed to access")]
252252 unconstrained fn cannot_load_other_contract () {
253- let env = TestEnvironment ::_new ();
253+ let env = TestEnvironment ::new ();
254254 env .private_context (|context | {
255255 let contract_address = context .this_address ();
256256 let other_contract_address = AztecAddress ::from_field (contract_address .to_field () + 1 );
@@ -261,7 +261,7 @@ mod test {
261261
262262 #[test(should_fail_with = "not allowed to access")]
263263 unconstrained fn cannot_delete_other_contract () {
264- let env = TestEnvironment ::_new ();
264+ let env = TestEnvironment ::new ();
265265 env .private_context (|context | {
266266 let contract_address = context .this_address ();
267267 let other_contract_address = AztecAddress ::from_field (contract_address .to_field () + 1 );
@@ -272,7 +272,7 @@ mod test {
272272
273273 #[test(should_fail_with = "not allowed to access")]
274274 unconstrained fn cannot_copy_other_contract () {
275- let env = TestEnvironment ::_new ();
275+ let env = TestEnvironment ::new ();
276276 env .private_context (|context | {
277277 let contract_address = context .this_address ();
278278 let other_contract_address = AztecAddress ::from_field (contract_address .to_field () + 1 );
0 commit comments