about summary refs log tree commit diff
path: root/tests/source/expr.rs
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2017-03-22 09:05:50 +1300
committerNick Cameron <ncameron@mozilla.com>2017-03-22 09:25:26 +1300
commit488c0b9546ff32234ae5b4d3463ec579e337020b (patch)
tree879a0336a9b4d461ac13464fb3f7ea4fe4568f35 /tests/source/expr.rs
parent4bb31a72315806e2a71dab0874132b988d303e60 (diff)
Test and source fallout
Diffstat (limited to 'tests/source/expr.rs')
-rw-r--r--tests/source/expr.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/source/expr.rs b/tests/source/expr.rs
index c0d1e3477e0..11d3fa98f9d 100644
--- a/tests/source/expr.rs
+++ b/tests/source/expr.rs
@@ -174,19 +174,19 @@ fn arrays() {
     let xy =    [ strukt  { test123: value_one_two_three_four, turbo: coolio(), } , /* comment  */   1 ];
 
         let a =WeightedChoice::new(&mut [Weighted {
-            weight: x,
+            weightweight: x,
             item: 0,
         },
                                   Weighted {
-            weight: 1,
+            weightweight: 1,
             item: 1,
         },
                                   Weighted {
-            weight: x,
+            weightweight: x,
             item: 2,
         },
                                   Weighted {
-            weight: 1,
+            weightweight: 1,
             item: 3,
         }]);