This repository was archived by the owner on Dec 29, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,8 @@ use std::sync::{Arc, Mutex};
21
21
use std:: thread;
22
22
use std:: time:: { Duration , Instant } ;
23
23
24
- // FIXME(move unit tests here): Right now the modules are organized as follows:
25
- // support/mod.rs -> project_builder.rs -> paths.rs.
26
- // This is done so that the main binary can directly pull in project_builder.rs
27
- // to not duplicate logic and use it for generating data for project unit tests.
28
24
pub mod project_builder;
25
+ pub mod paths;
29
26
30
27
/// Parse valid LSP stdout into a list of json messages
31
28
pub fn parse_messages ( stdout : & str ) -> Vec < String > {
Original file line number Diff line number Diff line change @@ -9,12 +9,7 @@ use std::path::{Path, PathBuf};
9
9
use std:: fs;
10
10
use std:: io:: { Write } ;
11
11
12
- use self :: paths:: TestPathExt ;
13
-
14
- // Modules are organized: support/mod.rs -> project_builder.rs -> paths.rs,
15
- // see note in support.mod.rs
16
- #[ path = "paths.rs" ]
17
- mod paths;
12
+ use super :: paths:: { self , TestPathExt } ;
18
13
19
14
#[ derive( PartialEq , Clone ) ]
20
15
struct FileBuilder {
You can’t perform that action at this time.
0 commit comments