Skip to content

Commit

Permalink
wip test logging git log
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrocha committed Jan 14, 2025
1 parent 2db5af3 commit e3d4abf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/tapioca/ruby_lsp/run_gem_rbi_check_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ module Foo
end

it "deletes untracked RBI files" do
$stdout.puts @project.exec("git log --oneline")
@project.bundle_install!
FileUtils.mkdir_p("#{@project.absolute_path}/sorbet/rbi/gems")
# Create an untracked RBI file
Expand Down Expand Up @@ -134,6 +135,7 @@ module Foo

# Clean-up commit
@project.exec("git reset --hard HEAD^")
$stdout.puts @project.exec("git log --oneline")
end
end
end
Expand Down

0 comments on commit e3d4abf

Please sign in to comment.