diff options
author | Aleksey Kladov <[email protected]> | 2018-08-13 16:27:26 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-13 16:27:26 +0100 |
commit | c1a7b72fb7c9b69779e490e1d692ddfccec8b57a (patch) | |
tree | 362f9ac863989fbea465b9cb3bdb9bc40497f8f4 /crates/libeditor/tests | |
parent | 9149fd2c0ca3d23719082852a2cddd8ba5804ce6 (diff) |
renames
Diffstat (limited to 'crates/libeditor/tests')
-rw-r--r-- | crates/libeditor/tests/test.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/libeditor/tests/test.rs b/crates/libeditor/tests/test.rs index 369854fed..fab2e4ad3 100644 --- a/crates/libeditor/tests/test.rs +++ b/crates/libeditor/tests/test.rs | |||
@@ -83,13 +83,13 @@ const C: i32 = 92; | |||
83 | "#); | 83 | "#); |
84 | let symbols = file_symbols(&file); | 84 | let symbols = file_symbols(&file); |
85 | dbg_eq( | 85 | dbg_eq( |
86 | r#"[FileSymbol { parent: None, name: "Foo", name_range: [8; 11), node_range: [1; 26), kind: STRUCT }, | 86 | r#"[FileSymbol { parent: None, name: "Foo", name_range: [8; 11), node_range: [1; 26), kind: STRUCT_DEF }, |
87 | FileSymbol { parent: None, name: "m", name_range: [32; 33), node_range: [28; 53), kind: MODULE }, | 87 | FileSymbol { parent: None, name: "m", name_range: [32; 33), node_range: [28; 53), kind: MODULE }, |
88 | FileSymbol { parent: Some(1), name: "bar", name_range: [43; 46), node_range: [40; 51), kind: FUNCTION }, | 88 | FileSymbol { parent: Some(1), name: "bar", name_range: [43; 46), node_range: [40; 51), kind: FN_DEF }, |
89 | FileSymbol { parent: None, name: "E", name_range: [60; 61), node_range: [55; 75), kind: ENUM }, | 89 | FileSymbol { parent: None, name: "E", name_range: [60; 61), node_range: [55; 75), kind: ENUM_DEF }, |
90 | FileSymbol { parent: None, name: "T", name_range: [81; 82), node_range: [76; 88), kind: TYPE_ITEM }, | 90 | FileSymbol { parent: None, name: "T", name_range: [81; 82), node_range: [76; 88), kind: TYPE_DEF }, |
91 | FileSymbol { parent: None, name: "S", name_range: [96; 97), node_range: [89; 108), kind: STATIC_ITEM }, | 91 | FileSymbol { parent: None, name: "S", name_range: [96; 97), node_range: [89; 108), kind: STATIC_DEF }, |
92 | FileSymbol { parent: None, name: "C", name_range: [115; 116), node_range: [109; 127), kind: CONST_ITEM }]"#, | 92 | FileSymbol { parent: None, name: "C", name_range: [115; 116), node_range: [109; 127), kind: CONST_DEF }]"#, |
93 | &symbols, | 93 | &symbols, |
94 | ) | 94 | ) |
95 | } | 95 | } |