aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_integration_cmds_version.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/test_integration_cmds_version.rb')
-rw-r--r--Library/Homebrew/test/test_integration_cmds_version.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds_version.rb b/Library/Homebrew/test/test_integration_cmds_version.rb
new file mode 100644
index 000000000..b434d0d95
--- /dev/null
+++ b/Library/Homebrew/test/test_integration_cmds_version.rb
@@ -0,0 +1,8 @@
+require "integration_cmds_tests"
+
+class IntegrationCommandTestVersion < IntegrationCommandTests
+ def test_version
+ assert_match HOMEBREW_VERSION.to_s,
+ cmd("--version")
+ end
+end