Skip to content

Commit

Permalink
Drop now redundant TextArea tests version boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktor-obrebski committed Nov 21, 2024
1 parent b9422dc commit 51ff6b7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/library/gui/widgets.TextArea.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ local widgets = require('gui.widgets')

config.target = 'core'

local df_major_version = tonumber(dfhack.getCompiledDFVersion():match('%d+'))

local function simulate_input_keys(...)
local keys = {...}
for _,key in ipairs(keys) do
Expand Down Expand Up @@ -2881,11 +2879,6 @@ function test.scroll_follows_cursor()
screen:dismiss()
end

if df_major_version < 51 then
-- temporary ignore test features that base on newest API of the DF game
return
end

function test.fast_rewind_words_right()
local text_area, screen, window = arrange_textarea({w=55})

Expand Down

0 comments on commit 51ff6b7

Please sign in to comment.