chore: Wrap WorkspaceId in newtype (#9492)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-03-18 12:39:03 +01:00 committed by GitHub
parent 07dbee8651
commit f60774bbdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 67 additions and 24 deletions

View file

@ -554,7 +554,10 @@ mod tests {
positions: Vec::new(),
string: "fake candidate".to_string(),
}];
delegate.workspaces = vec![(0, WorkspaceLocation::new(vec!["/test/path/"]))];
delegate.workspaces = vec![(
WorkspaceId::default(),
WorkspaceLocation::new(vec!["/test/path/"]),
)];
});
})
.unwrap();