Skip to content

Commit

Permalink
chore: fix tests after Lua version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Jun 29, 2024
1 parent 78bd892 commit a9e78f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rocks-lib/src/build/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ mod tests {
.unwrap();
let rockspec = Rockspec::new(&content).unwrap();

let config = Config::new().tree(Some(dir.into_path()));
let config = Config::new()
.tree(Some(dir.into_path()))
.lua_version(Some(crate::config::LuaVersion::Lua51));

crate::build::build(rockspec, &config).unwrap();
}
Expand Down

0 comments on commit a9e78f9

Please sign in to comment.