on master help sign in
Update tests: function names are vN not letters

This means it’s clear what happens after 26

commit239af836ec601ce96e57ddc4a3d8f3a01497e8cf authorEvan Czaplicki <evancz@users.noreply.github.com> dateWed 7 Dec 2016, 15:26 (10 years ago) parentee58906
4 files changed+9−9
tests/test-files/good-expected-js/Cases/ListZip.elm.js+2−2 tests/test-files/good-expected-js/CodeGenBugs/Shadowing.elm.js+2−2 tests/test-files/good-expected-js/CodeGenBugs/Shadowing2.elm.js+2−2 tests/test-files/good-expected-js/Records/NonHomogeneousRecords.elm.js+3−3
tests/test-files/good-expected-js/Cases/ListZip.elm.js+2−2
@@ -1,6 +1,6 @@
11var _elm_lang$core$Main$Cons = F2(
2− function (a, b) {
3− return {ctor: 'Cons', _0: a, _1: b};
2+ function (v1, v2) {
3+ return {ctor: 'Cons', _0: v1, _1: v2};
44 });
55var _elm_lang$core$Main$Nil = {ctor: 'Nil'};
66var _elm_lang$core$Main$zip = F2(
tests/test-files/good-expected-js/CodeGenBugs/Shadowing.elm.js+2−2
@@ -10,7 +10,7 @@ var _elm_lang$core$Main$toName = function (a) {
1010 return name;
1111};
1212var _elm_lang$core$Main$Second = F2(
13− function (a, b) {
14− return {ctor: 'Second', _0: a, _1: b};
13+ function (v1, v2) {
14+ return {ctor: 'Second', _0: v1, _1: v2};
1515 });
1616var _elm_lang$core$Main$First = {ctor: 'First'};
tests/test-files/good-expected-js/CodeGenBugs/Shadowing2.elm.js+2−2
@@ -1,6 +1,6 @@
11var _elm_lang$core$Main$Nothing = {ctor: 'Nothing'};
2−var _elm_lang$core$Main$Just = function (a) {
3− return {ctor: 'Just', _0: a};
2+var _elm_lang$core$Main$Just = function (v1) {
3+ return {ctor: 'Just', _0: v1};
44};
55var _elm_lang$core$Main$withDefault0 = function (maybe) {
66 var _p0 = maybe;
tests/test-files/good-expected-js/Records/NonHomogeneousRecords.elm.js+3−3
@@ -1,9 +1,9 @@
11var _elm_lang$core$Main$bindFields = function (thing) {
2− var y = thing.y;
32 var x = thing.x;
3+ var y = thing.y;
44 return thing;
55};
66var _elm_lang$core$Main$Thing = F2(
7− function (a, b) {
8− return {x: a, y: b};
7+ function (v1, v2) {
8+ return {x: v1, y: v2};
99 });