Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fix lunit.sh to work with Lua 5.2 #2

Merged
merged 1 commit into from about 2 years ago

2 participants

Reuben Thomas Doug Currie
Reuben Thomas

This is a trivial fix. I'm trying to get lunitx merged back into lunit, so can we get this one rolled up, and then maybe I can ping your upstream and see if lunitx will merge your 5.2 fixes?

Doug Currie dcurrie merged commit 1ad6835 into from
Doug Currie dcurrie closed this
Doug Currie
Owner

Thanks, Reuben.

Reuben Thomas

Great stuff. Why not make a pull request on sam-github (lunitx)?

Doug Currie
Owner

Done. Thanks for the "push!"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 25, 2012
Reuben Thomas extra/lunit.sh: make it work with Lua 5.2. ab554c6
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  extra/lunit.sh
2  extra/lunit.sh
@@ -120,7 +120,7 @@ exec "$interpreter" - "$scriptname" $options "$@" <<EOT
120 120
     force( scriptname..".lua" )
121 121
     force( scriptname.."-console.lua" )
122 122
   end
123  
-  require "lunit"
  123
+  lunit = require "lunit"
124 124
   local stats = lunit.main(argv)
125 125
   if stats.errors > 0 or stats.failed > 0 then
126 126
     os.exit(1)
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.