microsoft / pxt-calliope

A Microsoft MakeCode editor for the Calliope Mini board
https://makecode.calliope.cc
Other
39 stars 23 forks source link

.blocks tests #179

Open Amerlander opened 2 years ago

Amerlander commented 2 years ago

I updated the .blocks files like described there: https://makecode.com/develop/blockstests

That resulted in new errors, telling there are XML nodes missing. I had to remove these XML Nodes to pass the tests: https://github.com/microsoft/pxt-calliope/pull/175/commits/9534c8165d70f8ed7e17322cf6d0deda3a9b3307

I thought actually the tests should never fail, when the .blocks files are directly saved from the editor. Are these tests outdated, or did I something wrong? @riknoll, can you help?

riknoll commented 2 years ago

hmmmm this could be a mismatch in the version used for testing and the version sued to generate the blocks file. Did you do both of those things on localhost?

Amerlander commented 2 years ago

Yes, both in localhost and on the same machine