From dde3cb275f3d12b8a42497ab70f26b8a116ca333 Mon Sep 17 00:00:00 2001 From: Chip Senkbeil Date: Tue, 9 Aug 2022 01:00:55 -0700 Subject: [PATCH] Fix dir read tests for cli action --- CHANGELOG.md | 2 ++ tests/cli/action/dir_read.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b7011c..39d04f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [0.17.0] - 2022-08-09 ### Added - `distant manager` subcommand diff --git a/tests/cli/action/dir_read.rs b/tests/cli/action/dir_read.rs index acd5ffa..0d19a64 100644 --- a/tests/cli/action/dir_read.rs +++ b/tests/cli/action/dir_read.rs @@ -84,7 +84,7 @@ fn regex_stdout<'a>(lines: impl IntoIterator) -> Stri } fn regex_line(ty: &str, path: &str) -> String { - format!(r"\s*{ty}\s+{path}\s*\n") + format!(r"\s*{ty}\s+{path}\s*[\r\n]*") } #[rstest]