Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: risc <[email protected]>
  • Loading branch information
0risc committed Oct 12, 2024
1 parent a0a5683 commit adf4c46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/volatility.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def install
end

test do
system bin/"vol", "--help"
desired_output = "Volatility 3 Framework #{version}

Check failure on line 76 in Formula/volatility.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Lint/UselessAssignment: Useless assignment to variable - `desired_output`.

Check failure on line 76 in Formula/volatility.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-15)

Lint/UselessAssignment: Useless assignment to variable - `desired_output`.

Check failure on line 76 in Formula/volatility.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Lint/UselessAssignment: Useless assignment to variable - `desired_output`.
assert_includes shell_output("#{bin}/vol --help").strip, desired_output

Check failure on line 77 in Formula/volatility.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Layout/LeadingCommentSpace: Missing space after `#`.

Check failure on line 77 in Formula/volatility.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Layout/SpaceBeforeComment: Put a space before an end-of-line comment.

Check failure on line 77 in Formula/volatility.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-15)

Layout/LeadingCommentSpace: Missing space after `#`.

Check failure on line 77 in Formula/volatility.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-15)

Layout/SpaceBeforeComment: Put a space before an end-of-line comment.

Check failure on line 77 in Formula/volatility.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/LeadingCommentSpace: Missing space after `#`.

Check failure on line 77 in Formula/volatility.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/SpaceBeforeComment: Put a space before an end-of-line comment.
end
end

0 comments on commit adf4c46

Please sign in to comment.