RealyUniqueName / HUnit

Unit testing framework for Haxe with mocks and stubs.
Other
10 stars 1 forks source link

Haxe tag 3.2.1 produces errors. #1

Open 0b1kn00b opened 8 years ago

0b1kn00b commented 8 years ago
hunit/match/EqualMatch.hx:44: characters 39-50 : Constraint check failure for enumEq.T
hunit/match/EqualMatch.hx:44: characters 39-50 : hunit.match.EqualMatch.T should be EnumValue
hunit/match/NotEqualMatch.hx:25: characters 40-51 : Constraint check failure for enumEq.T
hunit/match/NotEqualMatch.hx:25: characters 40-51 : hunit.match.NotEqualMatch.T should be EnumValue
RealyUniqueName commented 8 years ago

Can you show a test code which throws this error?

0b1kn00b commented 8 years ago
class Test{
  static function main(){
      var suite = new hunit.TestSuite();
  }
}

:/

RealyUniqueName commented 8 years ago

o.O So it should fail everytime, but i run hunit on 3.2.0, 3.2.1 and haxe-dev without any issues. Wjat is your OS and architecture? Can you show haxelib list result?

0b1kn00b commented 8 years ago
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

activity: 0.1.0 git [dev:/media/i/src/haxe/lib/activity/git/src]
actuate: [1.8.6]
arguable: [1.0.2]
arrowlets: [dev:/media/i/projects/haxe/arrowlets/src/main/haxe]
asys: [dev:/media/i/projects/haxe/asys/src/main/haxe]
bindx2: [2.5.2]
bot: [dev:/media/i/projects/haxe/bot/src/main/haxe]
box2d: [1.2.3]
cleversort: [1.0.3]
cmds: [dev:/media/i/projects/haxe/commands]
codegen: [1.2.6]
compiletime: [2.6.0] 2.5.1
dataclass: 0.11.5 [0.11.6]
dox: [dev:/media/i/src/haxe/dox]
event: [dev:/media/i/projects/haxe/event/src/main/haxe]
exception: [0.1.3]
express: 0.3.1 [dev:/media/i/projects/haxe/ufront/submodules/hxexpress]
flow: [0.0.0]
format: 3.2.0 [3.2.1]
graph: [dev:/media/i/projects/haxe/graph/src/main/haxe]
hamcrest: [2.0.0]
haxelib_client: [3.2.0-rc.3]
haxeui: [1.7.18]
hscript: 2.0.4 [2.0.5]
http: [dev:/media/i/projects/haxe/http/src/main/haxe]
hunit: [0.1.34]
hxargs: [3.0.0]
hxcpp: [3.2.180]
hxdom: [1.0.1] 1.0.0
hxevents: [0.4.0]
hxmath: [0.13.0]
hxnet: git [dev:/media/i/src/haxe/lib/hxnet/git]
hxnodejs: git 4.0.1 [dev:/media/i/projects/haxe/ufront/submodules/hxnodejs]
hxnodejs_contrib: [dev:/media/i/projects/haxe/haxe-js-kit]
hxparse: 4.0.0 git 3.0.0 [dev:/media/i/src/haxe/lib/hxparse/git/src]
hxtemplo: git [dev:/media/i/src/haxe/lib/hxtemplo/git/src]
hxtools: [1.1.6]
js-kit: git [dev:/media/i/src/haxe/lib/js-kit/git]
latah: [dev:/media/i/projects/haxe/latah/src/main/haxe]
layout: [1.2.1]
lenox: 0.1.0 [dev:/media/i/projects/haxe/lenox/src/main/haxe]
lime-samples: [2.6.0]
lime-tools: [1.5.7]
lime: 2.6.8 [dev:/media/i/src/haxe/lime1]
luxe: [0.0.0]
markdown: [1.0.0]
maybe: [dev:/media/i/projects/haxe/maybe/src]
mcli: [0.1.4]
mconsole: [1.6.0]
mcover: [2.1.1]
metah: [dev:/media/i/projects/haxe/metah/src/main/haxe]
minject: 1.3.0 [2.0.0-rc.1] 1.6.1
mint: git [dev:/media/i/src/haxe/lib/mint/git]
mlib: [2.0.2]
module: [dev:/media/i/projects/haxe/module/src/main/haxe]
munit: [2.1.2]
nodejs-std: git [dev:/media/world/src/haxe/lib/nodejs-std/git]
nodejs: [2.2.7]
openfl-samples: [3.3.1]
openfl-tools: [1.0.10]
openfl: 3.3.8 [dev:/media/i/src/haxe/openfl1]
orm: [1.4.4]
PBKDF2: [1.0.0]
pointwise: 0.8.1 0.8.2 0.8.0 [dev:/media/i/projects/haxe/pointwise/src/main/haxe]
promhx: [0.2.4]
pushstate: 2.0.0 [2.1.0] 1.1.0
random: [1.4.1]
stablexui: [dev:/media/i/projects/haxe/StablexUI/src]
stdlib: 1.8.2 [1.9.5]
stx_addendum: [dev:/media/i/projects/haxe/addendum/src/main/haxe]
stx_maybe: 0.0.1 0.0.4 [0.0.5] 0.0.2 0.0.3
stx_transducers: [dev:/media/i/projects/haxe/transducers/src/main/haxe]
stx_tuple: [0.0.2]
swf: [2.1.2] 2.1.1
thx.core: [0.37.1]
thx.semver: [0.2.2]
tink_core: [1.0.0-rc.11] 1.0.0-rc.7
tink_lang: [0.4.1]
tink_macro: [0.6.4] 0.5.0
tink_priority: [0.1.2]
tink_syntaxhub: [0.3.3]
tuple2: [dev:/media/i/projects/haxe/tuple2/src/main/haxe]
ufront-client: 0.0.1 [dev:/media/i/projects/haxe/ufront/submodules/ufront-client]
ufront-clientds: [1.0.0-beta.9]
ufront-easyauth: 1.0.0-rc.10 1.0.0-rc.11 [dev:/media/i/projects/haxe/ufront/submodules/ufront-easyauth]
ufront-mail: [dev:/media/i/projects/haxe/ufront/submodules/ufront-mail]
ufront-mvc: 1.0.1 1.0.0-rc.15 [dev:/media/i/projects/haxe/ufront/submodules/ufront-mvc]
ufront-orm: 1.0.0 1.0.0-rc.11 [dev:/media/i/projects/haxe/ufront/submodules/ufront-orm]
ufront-ufadmin: [dev:/media/i/projects/haxe/ufront/submodules/ufront-ufadmin]
ufront-uftasks: [dev:/media/i/projects/haxe/ufront/submodules/ufront-uftasks]
ufront: 2.0.0-rc.2 [dev:/media/i/projects/haxe/ufront]
utest: [1.3.10] 1.3.7
veins-di: [dev:/media/i/src/haxe/veins-di/src]
yana: [dev:/media/i/projects/haxe/yana/src/main/haxe]
0b1kn00b commented 8 years ago

seems fixed :) but got another one...

0b1kn00b commented 8 years ago

This is fixed on the github repo, but the haxelib is still broken..

RealyUniqueName commented 8 years ago

That's strange because haxelib version should be equal to github one at this moment. What issues do you get exactly?