From 497a795081b95d487f0ec33746cc2a12ffeae5a0 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 21 Mar 2019 16:25:55 +0100 Subject: Initialize TranslationData padding before writing cache files Otherwise the resulting files differ subtly. Fixes: QTBUG-74532 Change-Id: I12b4f1ba6dda781d63ad50cce87861ba24582bf7 Reviewed-by: Simon Hausmann --- tests/auto/qml/qmlcachegen/data/script.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/auto/qml/qmlcachegen/data/script.js (limited to 'tests/auto/qml/qmlcachegen/data/script.js') diff --git a/tests/auto/qml/qmlcachegen/data/script.js b/tests/auto/qml/qmlcachegen/data/script.js new file mode 100644 index 0000000000..fa55f9069e --- /dev/null +++ b/tests/auto/qml/qmlcachegen/data/script.js @@ -0,0 +1,6 @@ + +.import "library.js" as Library + +function getter() { + return Library.getter() +} -- cgit v1.2.3