Skip to content

Commit

Permalink
Fixed unit tests in non-Qt case
Browse files Browse the repository at this point in the history
  • Loading branch information
klayoutmatthias committed Jan 12, 2023
1 parent 4b4556d commit d79dfec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testdata/ruby/layLayoutView.rb
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,10 @@ def create_plugin(manager, unused, view)
# issue-1242
def test_6

if !RBA.constants.member?(:MainWindow)
return
end

# Create a new layout
main_window = RBA::MainWindow.instance()
main_window.close_all
Expand Down

0 comments on commit d79dfec

Please sign in to comment.