fix(build): Use build/msg/en.js instead of msg/messages.js in tests

This has no direct effect but fixes a long-standing misdesign
where we are testing against the input to, rather than the output
of, the language file processing pipeline.
This commit is contained in:
Christopher Allen
2022-10-04 15:19:02 +01:00
parent c99385fc14
commit 3f2ff199b3
6 changed files with 6 additions and 6 deletions

2
tests/bootstrap.js vendored
View File

@@ -96,7 +96,7 @@
// whether Blockly is loaded from compressed or uncompressed.
// Paths relative to root.
additionalScripts: [
'msg/messages.js',
'build/msg/en.js',
],
};
if (typeof window.BLOCKLY_BOOTSTRAP_OPTIONS === 'object') {

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Blockly: Advanced Compilation Test</title>
<script src="main_compressed.js"></script>
<script src="../../msg/js/en.js"></script>
<script src="../../build/msg/en.js"></script>
<style>
body {
background-color: #fff;

View File

@@ -6,7 +6,7 @@
<script>
var BLOCKLY_BOOTSTRAP_OPTIONS = {
additionalScripts: [
'msg/messages.js',
'build/msg/en.js',
'tests/generators/unittest_javascript.js',
'tests/generators/unittest_python.js',
'tests/generators/unittest_php.js',

View File

@@ -112,7 +112,7 @@
'Blockly.test.zoomControls',
],
additionalScripts: [
'msg/messages.js',
'build/msg/en.js',
'tests/playgrounds/screenshot.js',
'node_modules/@blockly/dev-tools/dist/index.js',
],

View File

@@ -9,7 +9,7 @@
<script>
var BLOCKLY_BOOTSTRAP_OPTIONS = {
additionalScripts: [
'msg/messages.js',
'build/msg/en.js',
'tests/playgrounds/screenshot.js',
'node_modules/@blockly/dev-tools/dist/index.js',
],

View File

@@ -7,7 +7,7 @@
<script>
var BLOCKLY_BOOTSTRAP_OPTIONS = {
additionalScripts: [
'msg/messages.js',
'build/msg/en.js',
'tests/playgrounds/screenshot.js',
'tests/themes/test_themes.js',
'node_modules/@blockly/dev-tools/dist/index.js',