Repository: dotenv-linter/dotenv-linter
Pull request #454 (2021-12-30 12:15:44)

Add check for new version
<!--
Thank you for your pull request. Please provide a description above and review
the requirements below.

Bug fixes and new features should include tests.
-->

<!-- _Please make sure to review and check all of these items:_ -->

#### ✔ Checklist:
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [x] Commit messages have been written in [Conventional Commits](https://www.conventionalcommits.org) format;
- [x] This PR has been added to [CHANGELOG.md](https://github.com/dotenv-linter/dotenv-linter/blob/master/CHANGELOG.md) (at the top of the list);
- [x] Tests for the changes have been added (for bug fixes / features);
- [ ] Docs have been added / updated on the [dotenv-linter.github.io](https://github.com/dotenv-linter/dotenv-linter.github.io) (for bug fixes / features).

<!-- _NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open._ -->


codecov-commenter: # [Codecov](https://codecov.io/gh/dotenv-linter/dotenv-linter/pull/454?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter) Report
> Merging [#454](https://codecov.io/gh/dotenv-linter/dotenv-linter/pull/454?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter) (5beab95) into [master](https://codecov.io/gh/dotenv-linter/dotenv-linter/commit/7b990e4cea844020cc8367459e2dc79d1248180d?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter) (7b990e4) will **increase** coverage by `0.00%`.
> The diff coverage is `100.00%`.

> :exclamation: Current head 5beab95 differs from pull request most recent head fb94c71. Consider uploading reports for the commit fb94c71 to get more accurate results
[![Impacted file tree graph](https://codecov.io/gh/dotenv-linter/dotenv-linter/pull/454/graphs/tree.svg?width=650&height=150&src=pr&token=wQybePfHI1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter)](https://codecov.io/gh/dotenv-linter/dotenv-linter/pull/454?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter)

```diff
@@           Coverage Diff           @@
##           master     #454   +/-   ##
=======================================
  Coverage   98.87%   98.88%           
=======================================
  Files          41       41           
  Lines        2676     2697   +21     
=======================================
+ Hits         2646     2667   +21     
  Misses         30       30           
```


| [Impacted Files](https://codecov.io/gh/dotenv-linter/dotenv-linter/pull/454?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter) | Coverage Δ | |
|---|---|---|
| [src/common/quote\_type.rs](https://codecov.io/gh/dotenv-linter/dotenv-linter/pull/454/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter#diff-c3JjL2NvbW1vbi9xdW90ZV90eXBlLnJz) | `100.00% <ø> (ø)` | |
| [src/cli.rs](https://codecov.io/gh/dotenv-linter/dotenv-linter/pull/454/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter#diff-c3JjL2NsaS5ycw==) | `100.00% <100.00%> (ø)` | |
| [src/lib.rs](https://codecov.io/gh/dotenv-linter/dotenv-linter/pull/454/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter#diff-c3JjL2xpYi5ycw==) | `98.48% <100.00%> (+0.14%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/dotenv-linter/dotenv-linter/pull/454?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/dotenv-linter/dotenv-linter/pull/454?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter). Last update [7b990e4...fb94c71](https://codecov.io/gh/dotenv-linter/dotenv-linter/pull/454?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotenv-linter).

github-actions[bot]: ## Benchmark for 55d63d9
  <details>
    <summary>Click to view benchmark</summary>

| Test | PR Benchmark | Master Benchmark | % |
|------|--------------|------------------|---|
| dotenv_linter check | 59.9±0.36µs | **50.9±0.18µs** | **+17.68%** |
| dotenv_linter compare | **43.5±0.22µs** | 43.7±0.18µs | **-0.46%** |
| dotenv_linter fix | 172.6±224.49µs | 137.5±85.61µs | +25.53% |
| dotenv_linter fix with backup | 178.0±106.96µs | 190.8±134.22µs | -6.71% |


  </details>
  
github-actions[bot]: ## Benchmark for 9af2096
  <details>
    <summary>Click to view benchmark</summary>

| Test | PR Benchmark | Master Benchmark | % |
|------|--------------|------------------|---|
| dotenv_linter check | 73.1±4.93µs | **66.9±3.28µs** | **+9.27%** |
| dotenv_linter compare | 57.2±3.61µs | 55.2±3.89µs | +3.62% |
| dotenv_linter fix | 204.2±69.13µs | 203.0±63.02µs | +0.59% |
| dotenv_linter fix with backup | 286.3±236.73µs | 302.7±260.63µs | -5.42% |


  </details>
  
github-actions[bot]: ## Benchmark for 882a902
  <details>
    <summary>Click to view benchmark</summary>

| Test | PR Benchmark | Master Benchmark | % |
|------|--------------|------------------|---|
| dotenv_linter check | 74.0±11.26µs | **61.5±3.01µs** | **+20.33%** |
| dotenv_linter compare | 54.1±2.71µs | 52.7±4.14µs | +2.66% |
| dotenv_linter fix | 209.3±159.05µs | 195.4±34.93µs | +7.11% |
| dotenv_linter fix with backup | 275.2±132.86µs | 265.6±211.63µs | +3.61% |


  </details>
  
github-actions[bot]: ## Benchmark for d2eb012
  <details>
    <summary>Click to view benchmark</summary>

| Test | PR Benchmark | Master Benchmark | % |
|------|--------------|------------------|---|
| dotenv_linter check | 60.0±0.20µs | **51.5±0.15µs** | **+16.50%** |
| dotenv_linter compare | 44.0±0.21µs | 44.0±0.31µs | 0.00% |
| dotenv_linter fix | 146.3±118.52µs | 157.1±150.77µs | -6.87% |
| dotenv_linter fix with backup | 177.0±84.88µs | 175.2±106.54µs | +1.03% |


  </details>
  

Patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ce838ca..facb3e9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@ # Changelog
 
 ## [Unreleased]
 ### 🚀 Added
+- Add check for new version [#454](https://github.com/dotenv-linter/dotenv-linter/pull/454) ([@mgrachev](https://github.com/mgrachev))
 - Support of double-quoted multiline values [#453](https://github.com/dotenv-linter/dotenv-linter/pull/453) ([@DDtKey](https://github.com/DDtKey))
 - Support of single-quoted multiline values [#450](https://github.com/dotenv-linter/dotenv-linter/pull/450) ([@DDtKey](https://github.com/DDtKey))
 
diff --git a/Cargo.lock b/Cargo.lock
index 1f6f312..5d83b9f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,11 +2,17 @@
 # It is not intended for manual editing.
 version = 3
 
+[[package]]
+name = "adler"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+
 [[package]]
 name = "ansi_term"
-version = "0.11.0"
+version = "0.12.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
+checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
 dependencies = [
  "winapi",
 ]
@@ -27,10 +33,11 @@ dependencies = [
 
 [[package]]
 name = "atty"
-version = "0.2.13"
+version = "0.2.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
 dependencies = [
+ "hermit-abi",
  "libc",
  "winapi",
 ]
@@ -41,17 +48,23 @@ version = "1.0.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
 
+[[package]]
+name = "base64"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
+
 [[package]]
 name = "bitflags"
-version = "1.2.1"
+version = "1.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
 
 [[package]]
 name = "bstr"
-version = "0.2.14"
+version = "0.2.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "473fc6b38233f9af7baa94fb5852dca389e3d95b8e21c8e3719301462c5d9faf"
+checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
 dependencies = [
  "lazy_static",
  "memchr",
@@ -61,30 +74,24 @@ dependencies = [
 
 [[package]]
 name = "bumpalo"
-version = "3.4.0"
+version = "3.8.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820"
-
-[[package]]
-name = "byteorder"
-version = "1.3.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
+checksum = "8f1e260c3a9040a7c19a12468758f4c16f31a81a1fe087482be9570ec864bb6c"
 
 [[package]]
 name = "cast"
-version = "0.2.3"
+version = "0.2.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b9434b9a5aa1450faa3f9cb14ea0e8c53bb5d2b3c1bfd1ab4fc03e9f33fbfb0"
+checksum = "4c24dab4283a142afa2fdca129b80ad2c6284e073930f964c3a1293c225ee39a"
 dependencies = [
  "rustc_version",
 ]
 
 [[package]]
-name = "cfg-if"
-version = "0.1.10"
+name = "cc"
+version = "1.0.72"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
+checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee"
 
 [[package]]
 name = "cfg-if"
@@ -92,11 +99,17 @@ version = "1.0.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
 
+[[package]]
+name = "chunked_transfer"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fff857943da45f546682664a79488be82e69e43c1a7a2307679ab9afb3a66d2e"
+
 [[package]]
 name = "clap"
-version = "2.33.3"
+version = "2.34.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002"
+checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
 dependencies = [
  "ansi_term",
  "atty",
@@ -119,10 +132,13 @@ dependencies = [
 ]
 
 [[package]]
-name = "const_fn"
-version = "0.4.3"
+name = "crc32fast"
+version = "1.3.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c478836e029dcef17fb47c89023448c64f781a046e0300e257ad8225ae59afab"
+checksum = "738c290dfaea84fc1ca15ad9c168d083b05a714e1efddd8edaab678dc28d2836"
+dependencies = [
+ "cfg-if",
+]
 
 [[package]]
 name = "criterion"
@@ -162,33 +178,32 @@ dependencies = [
 
 [[package]]
 name = "crossbeam-channel"
-version = "0.5.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dca26ee1f8d361640700bde38b2c37d8c22b3ce2d360e1fc1c74ea4b0aa7d775"
+checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "crossbeam-utils",
 ]
 
 [[package]]
 name = "crossbeam-deque"
-version = "0.8.0"
+version = "0.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9"
+checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "crossbeam-epoch",
  "crossbeam-utils",
 ]
 
 [[package]]
 name = "crossbeam-epoch"
-version = "0.9.1"
+version = "0.9.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1aaa739f95311c2c7887a76863f500026092fb1dce0161dab577e559ef3569d"
+checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd"
 dependencies = [
- "cfg-if 1.0.0",
- "const_fn",
+ "cfg-if",
  "crossbeam-utils",
  "lazy_static",
  "memoffset",
@@ -197,24 +212,23 @@ dependencies = [
 
 [[package]]
 name = "crossbeam-utils"
-version = "0.8.1"
+version = "0.8.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d"
+checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
 dependencies = [
- "autocfg",
- "cfg-if 1.0.0",
+ "cfg-if",
  "lazy_static",
 ]
 
 [[package]]
 name = "csv"
-version = "1.1.5"
+version = "1.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9d58633299b24b515ac72a3f869f8b91306a3cec616a602843a383acd6f9e97"
+checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1"
 dependencies = [
  "bstr",
  "csv-core",
- "itoa",
+ "itoa 0.4.8",
  "ryu",
  "serde",
 ]
@@ -251,6 +265,7 @@ dependencies = [
  "dunce",
  "gag",
  "tempfile",
+ "update-informer",
 ]
 
 [[package]]
@@ -276,6 +291,28 @@ dependencies = [
  "winapi",
 ]
 
+[[package]]
+name = "flate2"
+version = "1.0.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e6988e897c1c9c485f43b47a529cef42fde0547f9d8d41a7062518f1d8fc53f"
+dependencies = [
+ "cfg-if",
+ "crc32fast",
+ "libc",
+ "miniz_oxide",
+]
+
+[[package]]
+name = "form_urlencoded"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191"
+dependencies = [
+ "matches",
+ "percent-encoding",
+]
+
 [[package]]
 name = "gag"
 version = "1.0.0"
@@ -292,40 +329,57 @@ version = "0.2.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "libc",
  "wasi",
 ]
 
 [[package]]
 name = "half"
-version = "1.6.0"
+version = "1.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d36fab90f82edc3c747f9d438e06cf0a491055896f2a279638bb5beed6c40177"
+checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
 
 [[package]]
 name = "hermit-abi"
-version = "0.1.17"
+version = "0.1.19"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8"
+checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
 dependencies = [
  "libc",
 ]
 
+[[package]]
+name = "idna"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8"
+dependencies = [
+ "matches",
+ "unicode-bidi",
+ "unicode-normalization",
+]
+
 [[package]]
 name = "itertools"
-version = "0.10.0"
+version = "0.10.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319"
+checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3"
 dependencies = [
  "either",
 ]
 
 [[package]]
 name = "itoa"
-version = "0.4.5"
+version = "0.4.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8b7a7c0c47db5545ed3fef7468ee7bb5b74691498139e4b3f6a20685dc6dd8e"
+checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
+
+[[package]]
+name = "itoa"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35"
 
 [[package]]
 name = "js-sys"
@@ -344,34 +398,50 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
 
 [[package]]
 name = "libc"
-version = "0.2.66"
+version = "0.2.112"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558"
+checksum = "1b03d17f364a3a042d5e5d46b053bbbf82c92c9430c592dd4c064dc6ee997125"
 
 [[package]]
 name = "log"
-version = "0.4.8"
+version = "0.4.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7"
+checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
 dependencies = [
- "cfg-if 0.1.10",
+ "cfg-if",
 ]
 
+[[package]]
+name = "matches"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
+
 [[package]]
 name = "memchr"
-version = "2.3.4"
+version = "2.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525"
+checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
 
 [[package]]
 name = "memoffset"
-version = "0.6.1"
+version = "0.6.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "157b4208e3059a8f9e78d559edc658e13df41410cb3ae03979c83130067fdd87"
+checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce"
 dependencies = [
  "autocfg",
 ]
 
+[[package]]
+name = "miniz_oxide"
+version = "0.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b"
+dependencies = [
+ "adler",
+ "autocfg",
+]
+
 [[package]]
 name = "num-traits"
 version = "0.2.14"
@@ -383,20 +453,32 @@ dependencies = [
 
 [[package]]
 name = "num_cpus"
-version = "1.13.0"
+version = "1.13.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
+checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1"
 dependencies = [
  "hermit-abi",
  "libc",
 ]
 
+[[package]]
+name = "once_cell"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5"
+
 [[package]]
 name = "oorandom"
 version = "11.1.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
 
+[[package]]
+name = "percent-encoding"
+version = "2.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
+
 [[package]]
 name = "plotters"
 version = "0.3.1"
@@ -412,15 +494,15 @@ dependencies = [
 
 [[package]]
 name = "plotters-backend"
-version = "0.3.0"
+version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b07fffcddc1cb3a1de753caa4e4df03b79922ba43cf882acc1bdd7e8df9f4590"
+checksum = "d88417318da0eaf0fdcdb51a0ee6c3bed624333bff8f946733049380be67ac1c"
 
 [[package]]
 name = "plotters-svg"
-version = "0.3.0"
+version = "0.3.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b38a02e23bd9604b842a812063aec4ef702b57989c37b655254bb61c471ad211"
+checksum = "521fa9638fa597e1dc53e9412a4f9cefb01187ee1f7413076f9e6749e2885ba9"
 dependencies = [
  "plotters-backend",
 ]
@@ -444,18 +526,18 @@ dependencies = [
 
 [[package]]
 name = "predicates-core"
-version = "1.0.0"
+version = "1.0.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06075c3a3e92559ff8929e7a280684489ea27fe44805174c3ebd9328dcb37178"
+checksum = "57e35a3326b75e49aa85f5dc6ec15b41108cf5aee58eabb1f274dd18b73c2451"
 
 [[package]]
 name = "predicates-tree"
-version = "1.0.0"
+version = "1.0.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e63c4859013b38a76eca2414c64911fba30def9e3202ac461a2d22831220124"
+checksum = "338c7be2905b732ae3984a2f40032b5e94fd8f52505b186c7d4d68d193445df7"
 dependencies = [
  "predicates-core",
- "treeline",
+ "termtree",
 ]
 
 [[package]]
@@ -469,9 +551,9 @@ dependencies = [
 
 [[package]]
 name = "quote"
-version = "1.0.3"
+version = "1.0.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f"
+checksum = "47aa80447ce4daf1717500037052af176af5d38cc3e571d9ec1c7353fc10c87d"
 dependencies = [
  "proc-macro2",
 ]
@@ -518,9 +600,9 @@ dependencies = [
 
 [[package]]
 name = "rayon"
-version = "1.5.0"
+version = "1.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b0d8e0819fadc20c74ea8373106ead0600e3a67ef1fe8da56e39b9ae7275674"
+checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90"
 dependencies = [
  "autocfg",
  "crossbeam-deque",
@@ -530,9 +612,9 @@ dependencies = [
 
 [[package]]
 name = "rayon-core"
-version = "1.9.0"
+version = "1.9.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a"
+checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e"
 dependencies = [
  "crossbeam-channel",
  "crossbeam-deque",
@@ -552,51 +634,75 @@ dependencies = [
 
 [[package]]
 name = "regex"
-version = "1.4.2"
+version = "1.5.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38cf2c13ed4745de91a5eb834e11c00bcc3709e773173b2ce4c56c9fbde04b9c"
+checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"
 dependencies = [
  "regex-syntax",
 ]
 
 [[package]]
 name = "regex-automata"
-version = "0.1.9"
+version = "0.1.10"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae1ded71d66a4a97f5e961fd0cb25a5f366a42a41570d16a763a69c092c26ae4"
-dependencies = [
- "byteorder",
-]
+checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
 
 [[package]]
 name = "regex-syntax"
-version = "0.6.21"
+version = "0.6.25"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b181ba2dcf07aaccad5448e8ead58db5b742cf85dfe035e2227f137a539a189"
+checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
 
 [[package]]
 name = "remove_dir_all"
-version = "0.5.2"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "ring"
+version = "0.16.20"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e"
+checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
 dependencies = [
+ "cc",
+ "libc",
+ "once_cell",
+ "spin",
+ "untrusted",
+ "web-sys",
  "winapi",
 ]
 
 [[package]]
 name = "rustc_version"
-version = "0.2.3"
+version = "0.4.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
+checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
 dependencies = [
  "semver",
 ]
 
+[[package]]
+name = "rustls"
+version = "0.20.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d37e5e2290f3e040b594b1a9e04377c2c671f1a1cfd9bfdef82106ac1c113f84"
+dependencies = [
+ "log",
+ "ring",
+ "sct",
+ "webpki",
+]
+
 [[package]]
 name = "ryu"
-version = "1.0.3"
+version = "1.0.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "535622e6be132bccd223f4bb2b8ac8d53cda3c7a6394944d3b2b33fb974f9d76"
+checksum = "73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f"
 
 [[package]]
 name = "same-file"
@@ -614,31 +720,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
 
 [[package]]
-name = "semver"
-version = "0.9.0"
+name = "sct"
+version = "0.7.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
+checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4"
 dependencies = [
- "semver-parser",
+ "ring",
+ "untrusted",
 ]
 
 [[package]]
-name = "semver-parser"
-version = "0.7.0"
+name = "semver"
+version = "1.0.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
+checksum = "568a8e6258aa33c13358f81fd834adb854c6f7c9468520910a9b1e8fac068012"
 
 [[package]]
 name = "serde"
-version = "1.0.104"
+version = "1.0.133"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "414115f25f818d7dfccec8ee535d76949ae78584fc4f79a6f45a904bf8ab4449"
+checksum = "97565067517b60e2d1ea8b268e59ce036de907ac523ad83a0475da04e818989a"
+dependencies = [
+ "serde_derive",
+]
 
 [[package]]
 name = "serde_cbor"
-version = "0.11.1"
+version = "0.11.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e18acfa2f90e8b735b2836ab8d538de304cbb6729a7360729ea5a895d15a622"
+checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5"
 dependencies = [
  "half",
  "serde",
@@ -646,9 +756,9 @@ dependencies = [
 
 [[package]]
 name = "serde_derive"
-version = "1.0.104"
+version = "1.0.133"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "128f9e303a5a29922045a830221b8f78ec74a5f544944f3d5984f8ec3895ef64"
+checksum = "ed201699328568d8d08208fdd080e3ff594e6c422e438b6705905da01005d537"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -657,15 +767,21 @@ dependencies = [
 
 [[package]]
 name = "serde_json"
-version = "1.0.48"
+version = "1.0.74"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9371ade75d4c2d6cb154141b9752cf3781ec9c05e0e5cf35060e1e70ee7b9c25"
+checksum = "ee2bb9cd061c5865d345bb02ca49fcef1391741b672b54a0bf7b679badec3142"
 dependencies = [
- "itoa",
+ "itoa 1.0.1",
  "ryu",
  "serde",
 ]
 
+[[package]]
+name = "spin"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
+
 [[package]]
 name = "strsim"
 version = "0.8.0"
@@ -689,7 +805,7 @@ version = "3.2.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "libc",
  "rand",
  "redox_syscall",
@@ -697,6 +813,12 @@ dependencies = [
  "winapi",
 ]
 
+[[package]]
+name = "termtree"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13a4ec180a2de59b57434704ccfad967f789b12737738798fa08798cd5824c16"
+
 [[package]]
 name = "textwrap"
 version = "0.11.0"
@@ -728,37 +850,110 @@ dependencies = [
 
 [[package]]
 name = "tinytemplate"
-version = "1.1.0"
+version = "1.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d3dc76004a03cec1c5932bca4cdc2e39aaa798e3f82363dd94f9adf6098c12f"
+checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
 dependencies = [
  "serde",
  "serde_json",
 ]
 
 [[package]]
-name = "treeline"
+name = "tinyvec"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2c1c1d5a42b6245520c249549ec267180beaffcc0615401ac8e31853d4b6d8d2"
+dependencies = [
+ "tinyvec_macros",
+]
+
+[[package]]
+name = "tinyvec_macros"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7f741b240f1a48843f9b8e0444fb55fb2a4ff67293b50a9179dfd5ea67f8d41"
+checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
+
+[[package]]
+name = "unicode-bidi"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a01404663e3db436ed2746d9fefef640d868edae3cceb81c3b8d5732fda678f"
+
+[[package]]
+name = "unicode-normalization"
+version = "0.1.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9"
+dependencies = [
+ "tinyvec",
+]
 
 [[package]]
 name = "unicode-width"
-version = "0.1.7"
+version = "0.1.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479"
+checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
 
 [[package]]
 name = "unicode-xid"
-version = "0.2.0"
+version = "0.2.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
+checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
+
+[[package]]
+name = "untrusted"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
+
+[[package]]
+name = "update-informer"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "55206b0f4cf553293b11581fcc48d4595b2a00a12aa645fbf51543d632fd1a45"
+dependencies = [
+ "semver",
+ "serde",
+ "serde_json",
+ "ureq",
+]
+
+[[package]]
+name = "ureq"
+version = "2.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9399fa2f927a3d327187cbd201480cee55bee6ac5d3c77dd27f0c6814cff16d5"
+dependencies = [
+ "base64",
+ "chunked_transfer",
+ "flate2",
+ "log",
+ "once_cell",
+ "rustls",
+ "serde",
+ "serde_json",
+ "url",
+ "webpki",
+ "webpki-roots",
+]
+
+[[package]]
+name = "url"
+version = "2.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c"
+dependencies = [
+ "form_urlencoded",
+ "idna",
+ "matches",
+ "percent-encoding",
+]
 
 [[package]]
 name = "vec_map"
-version = "0.8.1"
+version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a"
+checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
 
 [[package]]
 name = "wait-timeout"
@@ -771,9 +966,9 @@ dependencies = [
 
 [[package]]
 name = "walkdir"
-version = "2.3.1"
+version = "2.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d"
+checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
 dependencies = [
  "same-file",
  "winapi",
@@ -792,7 +987,7 @@ version = "0.2.78"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "632f73e236b219150ea279196e54e610f5dbafa5d61786303d4da54f84e47fce"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "wasm-bindgen-macro",
 ]
 
@@ -850,11 +1045,30 @@ dependencies = [
  "wasm-bindgen",
 ]
 
+[[package]]
+name = "webpki"
+version = "0.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd"
+dependencies = [
+ "ring",
+ "untrusted",
+]
+
+[[package]]
+name = "webpki-roots"
+version = "0.22.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "552ceb903e957524388c4d3475725ff2c8b7960922063af6ce53c9a43da07449"
+dependencies = [
+ "webpki",
+]
+
 [[package]]
 name = "winapi"
-version = "0.3.8"
+version = "0.3.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
 dependencies = [
  "winapi-i686-pc-windows-gnu",
  "winapi-x86_64-pc-windows-gnu",
diff --git a/Cargo.toml b/Cargo.toml
index e44b69f..e446aab 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,6 +13,7 @@ categories = ["command-line-utilities"]
 [dependencies]
 clap = "2.33.3"
 colored = "2.0.0"
+update-informer = "0.1.0"
 
 [target.'cfg(windows)'.dependencies]
 dunce = "1.0.2"
@@ -25,6 +26,9 @@ tempfile = "3.2.0"
 [target.'cfg(not(windows))'.dev-dependencies]
 gag = "1.0.0"
 
+[features]
+stub_check_version = []
+
 [profile.release]
 opt-level = 'z'  # Optimize for size
 lto = true
diff --git a/src/cli.rs b/src/cli.rs
index a872da6..6910e65 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -11,6 +11,7 @@ pub fn new(current_dir: &OsStr) -> App {
         .version(env!("CARGO_PKG_VERSION"))
         .version_short("v")
         .args(common_args(current_dir).as_ref())
+        .args(&[not_check_updates_flag()])
         .subcommand(
             SubCommand::with_name("list")
                 .setting(AppSettings::ColoredHelp)
@@ -92,3 +93,9 @@ fn no_color_flag() -> clap::Arg<'static, 'static> {
         .long("no-color")
         .help("Turns off the colored output")
 }
+
+fn not_check_updates_flag() -> clap::Arg<'static, 'static> {
+    Arg::with_name("not-check-updates")
+        .long("not-check-updates")
+        .help("Doesn't check for updates")
+}
diff --git a/src/common/quote_type.rs b/src/common/quote_type.rs
index 2cd250b..7e52efa 100644
--- a/src/common/quote_type.rs
+++ b/src/common/quote_type.rs
@@ -1,6 +1,6 @@
 use super::is_escaped;
 
-pub enum QuoteType {
+pub(crate) enum QuoteType {
     Single,
     Double,
 }
diff --git a/src/lib.rs b/src/lib.rs
index fb31d38..1429218 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,11 +1,14 @@
+use crate::common::*;
+use crate::quote_type::QuoteType;
+use colored::*;
 use std::collections::{BTreeMap, HashSet};
 use std::path::{Path, PathBuf};
 use std::str::FromStr;
-
-use crate::common::*;
+use std::time::Duration;
+use update_informer::registry::Crates;
 
 pub use checks::available_check_names;
-use common::quote_type::QuoteType;
+
 mod checks;
 mod common;
 mod fixes;
@@ -21,6 +24,8 @@ pub fn check(args: &clap::ArgMatches, current_dir: &Path) -> Result<usize> {
 
     if lines_map.is_empty() {
         output.print_nothing_to_check();
+        print_new_version_if_available(args);
+
         return Ok(0);
     }
 
@@ -49,6 +54,7 @@ pub fn check(args: &clap::ArgMatches, current_dir: &Path) -> Result<usize> {
             });
 
     output.print_total(warnings_count);
+    print_new_version_if_available(args);
 
     Ok(warnings_count)
 }
@@ -102,7 +108,6 @@ pub fn fix(args: &clap::ArgMatches, current_dir: &Path) -> Result<()> {
     }
 
     output.print_total(warnings_count);
-
     Ok(())
 }
 
@@ -297,7 +302,7 @@ fn find_multiline_ranges(lines: &[LineEntry]) -> Vec<(usize, usize)> {
     multiline_ranges
 }
 
-/// returns the QuoteType for a str starting with a quote-char
+/// Returns the `QuoteType` for a `&str` starting with a quote-char
 fn is_multiline_start(val: &str) -> Option<QuoteType> {
     for quote_type in [QuoteType::Single, QuoteType::Double] {
         if quote_type.is_quoted_value(val) {
@@ -306,3 +311,44 @@ fn is_multiline_start(val: &str) -> Option<QuoteType> {
     }
     None
 }
+
+/// Prints information about the new version to `STDOUT` if a new version available
+fn print_new_version_if_available(args: &clap::ArgMatches) {
+    if args.is_present("not-check-updates") || args.is_present("quiet") {
+        return;
+    }
+
+    #[cfg(not(feature = "stub_check_version"))]
+    let current_version = env!("CARGO_PKG_VERSION");
+
+    #[cfg(feature = "stub_check_version")]
+    let current_version = "3.0.0";
+
+    let pkg_name = env!("CARGO_PKG_NAME");
+    let interval = Duration::from_secs(60 * 60 * 24);
+
+    #[cfg(not(feature = "stub_check_version"))]
+    let result = update_informer::check_version(Crates, pkg_name, current_version, interval);
+
+    #[cfg(feature = "stub_check_version")]
+    let result =
+        update_informer::stub_check_version(Crates, pkg_name, current_version, interval, "3.1.1");
+
+    if let Ok(Some(version)) = result {
+        let msg = format!(
+            "A new release of {pkg_name} is available: v{current_version} -> {new_version}",
+            pkg_name = pkg_name.italic().cyan(),
+            current_version = current_version,
+            new_version = version.to_string().green()
+        );
+
+        let release_url = format!(
+            "https://github.com/{pkg_name}/{pkg_name}/releases/tag/{version}",
+            pkg_name = pkg_name,
+            version = version
+        )
+        .yellow();
+
+        println!("\n{msg}\n{url}", msg = msg, url = release_url);
+    }
+}


Test patch:
diff --git a/tests/args/current_dir.rs b/tests/args/current_dir.rs
index bdeba2b..2ed9800 100644
--- a/tests/args/current_dir.rs
+++ b/tests/args/current_dir.rs
@@ -5,7 +5,7 @@ fn exits_with_0_on_no_warnings() {
     let test_dir = TestDir::new();
     test_dir.create_testfile(".env", "FOO=bar\n");
     let expected_output = check_output(&[(".env", &[])]);
-    test_dir.test_command_success(expected_output);
+    test_dir.test_command_success_with_args(with_default_args(&[]), expected_output);
 }
 
 #[test]
@@ -13,14 +13,17 @@ fn checks_current_dir() {
     let testdir = TestDir::new();
     let testfile = testdir.create_testfile(".env", "FOO\n");
 
-    testdir.test_command_fail(check_output(&[(
-        testfile.shortname_as_str(),
-        &[format!(
-            "{}:1 KeyWithoutValue: The FOO key should be with a value or have an equal sign",
-            testfile.shortname_as_str()
-        )
-        .as_str()],
-    )]));
+    testdir.test_command_fail_with_args(
+        with_default_args(&[]),
+        check_output(&[(
+            testfile.shortname_as_str(),
+            &[format!(
+                "{}:1 KeyWithoutValue: The FOO key should be with a value or have an equal sign",
+                testfile.shortname_as_str()
+            )
+            .as_str()],
+        )]),
+    );
 }
 
 #[test]
@@ -34,5 +37,5 @@ fn checks_current_dir_with_dot_arg() {
         &["test.env:1 LowercaseKey: The foo key should be in uppercase"],
     )]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
diff --git a/tests/args/specific_path.rs b/tests/args/specific_path.rs
index a48995f..139f7a3 100644
--- a/tests/args/specific_path.rs
+++ b/tests/args/specific_path.rs
@@ -24,7 +24,7 @@ fn checks_one_specific_path() {
         .as_str()],
     )]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -68,7 +68,7 @@ fn checks_two_specific_paths() {
         ),
     ]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -87,7 +87,7 @@ fn checks_one_specific_file() {
         .as_str()],
     )]);
 
-    test_dir.test_command_fail_with_args(args, expected_output);
+    test_dir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -124,7 +124,7 @@ fn checks_two_specific_files() {
         ),
     ]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -166,7 +166,7 @@ fn checks_each_file_only_once_when_listing_same_path_twice() {
         ),
     ]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -207,7 +207,7 @@ fn checks_each_file_only_once_when_listing_one_path_and_one_file() {
         ),
     ]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -244,7 +244,7 @@ fn checks_one_specific_file_and_one_path() {
         ),
     ]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -263,5 +263,5 @@ fn checks_one_specific_file_twice() {
         .as_str()],
     )]);
 
-    test_dir.test_command_fail_with_args(args, expected_output);
+    test_dir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
diff --git a/tests/checks/duplicated_key.rs b/tests/checks/duplicated_key.rs
index fa9ecc0..c60f8ce 100644
--- a/tests/checks/duplicated_key.rs
+++ b/tests/checks/duplicated_key.rs
@@ -15,7 +15,7 @@ fn correct_files() {
 
         let expected_output = check_output(&[(".env", &[])]);
 
-        testdir.test_command_success_with_args(args, expected_output);
+        testdir.test_command_success_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -37,7 +37,7 @@ fn incorrect_files() {
             .as_str()],
         )]);
 
-        testdir.test_command_fail_with_args(args, expected_output);
+        testdir.test_command_fail_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -57,5 +57,5 @@ fn many_duplicates() {
         ],
     )]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
diff --git a/tests/checks/ending_blank_line.rs b/tests/checks/ending_blank_line.rs
index 892823a..0a9917e 100644
--- a/tests/checks/ending_blank_line.rs
+++ b/tests/checks/ending_blank_line.rs
@@ -15,7 +15,7 @@ fn correct_files() {
 
         let expected_output = check_output(&[(".env", &[])]);
 
-        testdir.test_command_success_with_args(args, expected_output);
+        testdir.test_command_success_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -42,6 +42,6 @@ fn incorrect_files() {
             .as_str()],
         )]);
 
-        testdir.test_command_fail_with_args(args, expected_output);
+        testdir.test_command_fail_with_args(with_default_args(args), expected_output);
     }
 }
diff --git a/tests/checks/extra_blank_line.rs b/tests/checks/extra_blank_line.rs
index a046cf5..d076ef8 100644
--- a/tests/checks/extra_blank_line.rs
+++ b/tests/checks/extra_blank_line.rs
@@ -15,7 +15,7 @@ fn correct_files() {
 
         let expected_output = check_output(&[(".env", &[])]);
 
-        testdir.test_command_success_with_args(args, expected_output);
+        testdir.test_command_success_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -31,7 +31,7 @@ fn two_blank_lines_at_the_beginning() {
         &[".env:2 ExtraBlankLine: Extra blank line detected"],
     )]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -46,7 +46,7 @@ fn two_blank_lines_in_the_middle() {
         &[".env:4 ExtraBlankLine: Extra blank line detected"],
     )]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -61,5 +61,5 @@ fn two_blank_lines_at_the_end() {
         &[".env:5 ExtraBlankLine: Extra blank line detected"],
     )]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
diff --git a/tests/checks/incorrect_delimiter.rs b/tests/checks/incorrect_delimiter.rs
index cf9f75f..6fd5c2e 100644
--- a/tests/checks/incorrect_delimiter.rs
+++ b/tests/checks/incorrect_delimiter.rs
@@ -15,7 +15,7 @@ fn correct_files() {
 
         let expected_output = check_output(&[(".env", &[])]);
 
-        testdir.test_command_success_with_args(args, expected_output);
+        testdir.test_command_success_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -37,7 +37,7 @@ fn incorrect_files() {
             .as_str()],
         )]);
 
-        testdir.test_command_fail_with_args(args, expected_output);
+        testdir.test_command_fail_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -56,5 +56,5 @@ fn many_incorrect_variables() {
         ],
     )]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
diff --git a/tests/checks/key_without_value.rs b/tests/checks/key_without_value.rs
index 577e894..08d67f3 100644
--- a/tests/checks/key_without_value.rs
+++ b/tests/checks/key_without_value.rs
@@ -16,6 +16,6 @@ fn also_detect_lowercase_key() {
             ],
         )]);
 
-        testdir.test_command_fail_with_args(args, expected_output);
+        testdir.test_command_fail_with_args(with_default_args(args), expected_output);
     }
 }
diff --git a/tests/checks/leading_character.rs b/tests/checks/leading_character.rs
index 8aa90c3..ac51657 100644
--- a/tests/checks/leading_character.rs
+++ b/tests/checks/leading_character.rs
@@ -15,7 +15,7 @@ fn correct_files() {
 
         let expected_output = check_output(&[(".env", &[])]);
 
-        testdir.test_command_success_with_args(args, expected_output);
+        testdir.test_command_success_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -42,7 +42,7 @@ fn incorrect_files() {
             .as_str()],
         )]);
 
-        testdir.test_command_fail_with_args(args, expected_output);
+        testdir.test_command_fail_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -61,5 +61,5 @@ fn many_incorrect_variables() {
         ],
     )]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
diff --git a/tests/checks/lowercase_key.rs b/tests/checks/lowercase_key.rs
index f76d1e0..abbd16e 100644
--- a/tests/checks/lowercase_key.rs
+++ b/tests/checks/lowercase_key.rs
@@ -15,7 +15,7 @@ fn correct_files() {
 
         let expected_output = check_output(&[(".env", &[])]);
 
-        testdir.test_command_success_with_args(args, expected_output);
+        testdir.test_command_success_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -37,7 +37,7 @@ fn incorrect_files() {
             .as_str()],
         )]);
 
-        testdir.test_command_fail_with_args(args, expected_output);
+        testdir.test_command_fail_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -56,5 +56,5 @@ fn many_incorrect_variables() {
         ],
     )]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
diff --git a/tests/checks/quote_character.rs b/tests/checks/quote_character.rs
index ec6c1a4..7de0c6b 100644
--- a/tests/checks/quote_character.rs
+++ b/tests/checks/quote_character.rs
@@ -15,7 +15,7 @@ fn correct_files() {
 
         let expected_output = check_output(&[(".env", &[])]);
 
-        testdir.test_command_success_with_args(args, expected_output);
+        testdir.test_command_success_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -41,7 +41,7 @@ fn incorrect_files() {
             .as_str()],
         )]);
 
-        testdir.test_command_fail_with_args(args, expected_output);
+        testdir.test_command_fail_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -54,5 +54,5 @@ fn multiline_value() {
     let args = &[testfile.as_str()];
     let expected_output = check_output(&[(".env", &[])]);
 
-    testdir.test_command_success_with_args(args, expected_output);
+    testdir.test_command_success_with_args(with_default_args(args), expected_output);
 }
diff --git a/tests/checks/space_character.rs b/tests/checks/space_character.rs
index 96f0b0f..d85aea2 100644
--- a/tests/checks/space_character.rs
+++ b/tests/checks/space_character.rs
@@ -15,7 +15,7 @@ fn correct_files() {
 
         let expected_output = check_output(&[(".env", &[])]);
 
-        testdir.test_command_success_with_args(args, expected_output);
+        testdir.test_command_success_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -41,6 +41,6 @@ fn incorrect_files() {
             .as_str()],
         )]);
 
-        testdir.test_command_fail_with_args(args, expected_output);
+        testdir.test_command_fail_with_args(with_default_args(args), expected_output);
     }
 }
diff --git a/tests/checks/substitution_key.rs b/tests/checks/substitution_key.rs
index a87513c..2592397 100644
--- a/tests/checks/substitution_key.rs
+++ b/tests/checks/substitution_key.rs
@@ -17,7 +17,7 @@ fn correct_files() {
 
         let expected_output = check_output(&[(".env", &[])]);
 
-        testdir.test_command_success_with_args(args, expected_output);
+        testdir.test_command_success_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -44,6 +44,6 @@ fn incorrect_files() {
             .as_str()],
         )]);
 
-        testdir.test_command_fail_with_args(args, expected_output);
+        testdir.test_command_fail_with_args(with_default_args(args), expected_output);
     }
 }
diff --git a/tests/checks/trailing_whitespace.rs b/tests/checks/trailing_whitespace.rs
index 234bc05..2fe3917 100644
--- a/tests/checks/trailing_whitespace.rs
+++ b/tests/checks/trailing_whitespace.rs
@@ -15,7 +15,7 @@ fn correct_files() {
 
         let expected_output = check_output(&[(".env", &[])]);
 
-        testdir.test_command_success_with_args(args, expected_output);
+        testdir.test_command_success_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -34,5 +34,5 @@ fn incorrect_file() {
         ],
     )]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
diff --git a/tests/checks/unordered_key.rs b/tests/checks/unordered_key.rs
index adcfef2..a5c56cb 100644
--- a/tests/checks/unordered_key.rs
+++ b/tests/checks/unordered_key.rs
@@ -15,7 +15,7 @@ fn correct_files() {
 
         let expected_output = check_output(&[(".env", &[])]);
 
-        testdir.test_command_success_with_args(args, expected_output);
+        testdir.test_command_success_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -37,7 +37,7 @@ fn incorrect_files() {
             .as_str()],
         )]);
 
-        testdir.test_command_fail_with_args(args, expected_output);
+        testdir.test_command_fail_with_args(with_default_args(args), expected_output);
     }
 }
 
@@ -56,5 +56,5 @@ fn many_incorrect_variables() {
         ],
     )]);
 
-    testdir.test_command_fail_with_args(args, expected_output);
+    testdir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
diff --git a/tests/common/args.rs b/tests/common/args.rs
new file mode 100644
index 0000000..ef920bc
--- /dev/null
+++ b/tests/common/args.rs
@@ -0,0 +1,5 @@
+pub fn with_default_args<'a>(args: &'a [&'a str]) -> Vec<&'a str> {
+    let mut args = args.to_vec();
+    args.push("--not-check-updates");
+    args
+}
diff --git a/tests/common/mod.rs b/tests/common/mod.rs
index 7dca2dc..f7a2242 100644
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -1,7 +1,9 @@
+mod args;
 mod output;
 mod test_dir;
 mod test_file;
 mod test_link;
 
+pub use args::with_default_args;
 pub use output::*;
 pub use test_dir::TestDir;
diff --git a/tests/common/test_dir.rs b/tests/common/test_dir.rs
index f8fba64..b87dec9 100644
--- a/tests/common/test_dir.rs
+++ b/tests/common/test_dir.rs
@@ -65,28 +65,6 @@ pub fn as_str(&self) -> &str {
             .expect("convert directory to &str")
     }
 
-    /// Run the default CLI binary in this TestDir and check it succeeds.
-    ///
-    /// This method removes the TestDir when command has finished.
-    pub fn test_command_success<T>(self, expected_output: T)
-    where
-        T: Into<String>,
-    {
-        let args: &[&str; 0] = &[];
-        self.test_command_success_with_args(args, expected_output);
-    }
-
-    /// Run the default CLI binary in this TestDir and check it fails.
-    ///
-    /// This method removes the TestDir when command has finished.
-    pub fn test_command_fail<T>(self, expected_output: T)
-    where
-        T: Into<String>,
-    {
-        let args: &[&str; 0] = &[];
-        self.test_command_fail_with_args(args, expected_output);
-    }
-
     /// Run the default CLI binary, with command line arguments,
     /// in this TestDir and check it succeeds.
     ///
diff --git a/tests/fixes/mod.rs b/tests/fixes/mod.rs
index 0cc133a..fa85a2d 100644
--- a/tests/fixes/mod.rs
+++ b/tests/fixes/mod.rs
@@ -116,6 +116,7 @@ fn fixtures() {
         assert_eq!(testfile.contents(), expected_content);
 
         // Check the fixed file again and then clean up
-        testdir.test_command_success(check_output(&[(".env", &[])]));
+        testdir
+            .test_command_success_with_args(with_default_args(&[]), check_output(&[(".env", &[])]));
     }
 }
diff --git a/tests/flags/check_updates.rs b/tests/flags/check_updates.rs
new file mode 100644
index 0000000..fc05ed2
--- /dev/null
+++ b/tests/flags/check_updates.rs
@@ -0,0 +1,27 @@
+use crate::common::*;
+
+fn new_version_output() -> String {
+    format!(
+        "A new release of dotenv-linter is available: v3.0.0 -> v3.1.1\n\
+        https://github.com/dotenv-linter/dotenv-linter/releases/tag/v3.1.1"
+    )
+}
+
+#[test]
+fn print_new_version() {
+    let test_dir = TestDir::new();
+    test_dir.create_testfile(".env", "FOO=bar\n");
+    let expected_output = check_output(&[(".env", &[])]);
+    let expected_output = format!("{}\n{}\n", expected_output, new_version_output());
+
+    let args: &[&str; 0] = &[];
+    test_dir.test_command_success_with_args(args, expected_output);
+}
+
+#[test]
+fn print_new_version_if_nothing_to_check() {
+    let test_dir = TestDir::new();
+    let expected_output = format!("Nothing to check\n\n{}\n", new_version_output());
+
+    test_dir.test_command_success_with_args(&[""], expected_output);
+}
diff --git a/tests/flags/mod.rs b/tests/flags/mod.rs
index 6205a5a..953813d 100644
--- a/tests/flags/mod.rs
+++ b/tests/flags/mod.rs
@@ -1,3 +1,6 @@
 mod backup;
 mod quiet;
 mod recursive;
+
+#[cfg(feature = "stub_check_version")]
+mod check_updates;
diff --git a/tests/flags/quiet.rs b/tests/flags/quiet.rs
index bcbbbbf..63eb23a 100644
--- a/tests/flags/quiet.rs
+++ b/tests/flags/quiet.rs
@@ -1,4 +1,4 @@
-use crate::common::TestDir;
+use crate::common::*;
 
 #[test]
 fn check_output_in_quiet_mode() {
diff --git a/tests/flags/recursive.rs b/tests/flags/recursive.rs
index bbfcc79..fd8327f 100644
--- a/tests/flags/recursive.rs
+++ b/tests/flags/recursive.rs
@@ -1,4 +1,4 @@
-use crate::common::{check_output, TestDir};
+use crate::common::*;
 use std::path::Path;
 
 #[test]
@@ -26,7 +26,7 @@ fn checks_one_in_subdir() {
         ("correct.env", &[]),
     ]);
 
-    test_dir.test_command_fail_with_args(args, expected_output);
+    test_dir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -71,7 +71,7 @@ fn checks_files_in_deep_subdirs() {
         ("correct.env", &[]),
     ]);
 
-    test_dir.test_command_fail_with_args(args, expected_output);
+    test_dir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -84,7 +84,7 @@ fn checks_without_recursive_flag() {
     let expected_output = check_output(&[("correct.env", &[])]);
 
     // incorrect file located in a subdirectory should not be checked
-    test_dir.test_command_success(expected_output);
+    test_dir.test_command_success_with_args(with_default_args(&[]), expected_output);
 }
 
 #[test]
@@ -116,7 +116,7 @@ fn checks_recursive_with_exclude_subdir() {
         ("correct.env", &[]),
     ]);
 
-    test_dir.test_command_fail_with_args(args, expected_output);
+    test_dir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -142,5 +142,5 @@ fn checks_nofollow_subdir_symlinks() {
         .as_str()],
     )]);
 
-    test_dir.test_command_fail_with_args(args, expected_output);
+    test_dir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
diff --git a/tests/options/exclude.rs b/tests/options/exclude.rs
index 9696c9f..19b5359 100644
--- a/tests/options/exclude.rs
+++ b/tests/options/exclude.rs
@@ -1,4 +1,4 @@
-use crate::common::{check_output, TestDir};
+use crate::common::*;
 
 #[test]
 fn exclude_one_file() {
@@ -8,7 +8,10 @@ fn exclude_one_file() {
     let expected_output = r#"Nothing to check
 "#;
 
-    test_dir.test_command_success_with_args(&["--exclude", testfile.as_str()], expected_output);
+    test_dir.test_command_success_with_args(
+        with_default_args(&["--exclude", testfile.as_str()]),
+        expected_output,
+    );
 }
 
 #[test]
@@ -21,7 +24,7 @@ fn exclude_two_files() {
 "#;
 
     test_dir.test_command_success_with_args(
-        &["-e", testfile_1.as_str(), "-e", testfile_2.as_str()],
+        with_default_args(&["-e", testfile_1.as_str(), "-e", testfile_2.as_str()]),
         expected_output,
     );
 }
@@ -42,5 +45,5 @@ fn exclude_one_file_check_one_file() {
         .as_str()],
     )]);
 
-    test_dir.test_command_fail_with_args(args, expected_output);
+    test_dir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
diff --git a/tests/output/check.rs b/tests/output/check.rs
index 305946a..320307e 100644
--- a/tests/output/check.rs
+++ b/tests/output/check.rs
@@ -13,7 +13,7 @@ fn problems() {
 Found 1 problem
 "#;
 
-    test_dir.test_command_fail(expected_output);
+    test_dir.test_command_fail_with_args(with_default_args(&[]), expected_output);
 }
 
 #[test]
@@ -35,7 +35,7 @@ fn problems_multiple_files() {
 Found 3 problems
 "#;
 
-    test_dir.test_command_fail(expected_output);
+    test_dir.test_command_fail_with_args(with_default_args(&[]), expected_output);
 }
 
 #[test]
@@ -51,7 +51,7 @@ fn valid_multiline_value_test() {
 No problems found
 "#;
 
-    test_dir.test_command_success(expected_output);
+    test_dir.test_command_success_with_args(with_default_args(&[]), expected_output);
 }
 
 #[test]
@@ -67,7 +67,7 @@ fn valid_double_quoted_multiline_value_test() {
 No problems found
 "#;
 
-    test_dir.test_command_success(expected_output);
+    test_dir.test_command_success_with_args(with_default_args(&[]), expected_output);
 }
 
 #[test]
@@ -87,7 +87,7 @@ fn problems_first_and_last_file() {
 Found 2 problems
 "#;
 
-    test_dir.test_command_fail(expected_output);
+    test_dir.test_command_fail_with_args(with_default_args(&[]), expected_output);
 }
 
 #[test]
@@ -106,7 +106,7 @@ fn problems_middle_file() {
 Found 1 problem
 "#;
 
-    test_dir.test_command_fail(expected_output);
+    test_dir.test_command_fail_with_args(with_default_args(&[]), expected_output);
 }
 
 #[test]
@@ -119,7 +119,7 @@ fn no_problems() {
 No problems found
 "#;
 
-    test_dir.test_command_success(expected_output);
+    test_dir.test_command_success_with_args(with_default_args(&[]), expected_output);
 }
 
 #[test]
@@ -136,7 +136,7 @@ fn no_problems_multiple_files() {
 No problems found
 "#;
 
-    test_dir.test_command_success(expected_output);
+    test_dir.test_command_success_with_args(with_default_args(&[]), expected_output);
 }
 
 #[test]
@@ -146,7 +146,7 @@ fn no_files() {
     let expected_output = r#"Nothing to check
 "#;
 
-    test_dir.test_command_success(expected_output);
+    test_dir.test_command_success_with_args(with_default_args(&[]), expected_output);
 }
 
 #[test]
@@ -159,7 +159,7 @@ fn quiet() {
 .env:4 UnorderedKey: The B key should go before the F key
 "#;
 
-    test_dir.test_command_fail_with_args(args, expected_output);
+    test_dir.test_command_fail_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -170,7 +170,7 @@ fn quiet_no_problems() {
     let args = &["--quiet"];
     let expected_output = "";
 
-    test_dir.test_command_success_with_args(args, expected_output);
+    test_dir.test_command_success_with_args(with_default_args(args), expected_output);
 }
 
 #[test]
@@ -180,5 +180,5 @@ fn quiet_no_files() {
     let args = &["--quiet"];
     let expected_output = "";
 
-    test_dir.test_command_success_with_args(args, expected_output);
+    test_dir.test_command_success_with_args(with_default_args(args), expected_output);
 }