summaryrefslogtreecommitdiffstats
path: root/src/bug_report.rs
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2020-09-29 17:06:45 -0400
committerGitHub <noreply@github.com>2020-09-29 17:06:45 -0400
commit83502a08ddea2773201f6f833fe659d4f7b4299a (patch)
tree556896f222e5645aaf9a8b3c74421a1a9f53694f /src/bug_report.rs
parentcad415a0e0991620103852c4550a1515fa9583a6 (diff)
build(deps): bump os_info from 2.0.8 to 3.0.0 (#1688)
* build(deps): bump os_info from 2.0.8 to 3.0.0 Bumps [os_info](https://github.com/stanislav-tkach/os_info) from 2.0.8 to 3.0.0. - [Release notes](https://github.com/stanislav-tkach/os_info/releases) - [Changelog](https://github.com/stanislav-tkach/os_info/blob/master/CHANGELOG.md) - [Commits](https://github.com/stanislav-tkach/os_info/compare/v2.0.8...v3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Upgrade to work with the new os_info Have switched to work with the new os_info tooling. Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Thomas O'Donnell <andy.tom@gmail.com>
Diffstat (limited to 'src/bug_report.rs')
-rw-r--r--src/bug_report.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bug_report.rs b/src/bug_report.rs
index d9104ab1c..2ea9d5ec0 100644
--- a/src/bug_report.rs
+++ b/src/bug_report.rs
@@ -212,7 +212,7 @@ mod tests {
let starship_version = "0.1.2";
let environment = Environment {
os_type: os_info::Type::Linux,
- os_version: os_info::Version::semantic(1, 2, 3, Some("test".to_string())),
+ os_version: os_info::Version::Semantic(1, 2, 3),
shell_info: ShellInfo {
name: "test_shell".to_string(),
version: "2.3.4".to_string(),