aboutsummaryrefslogtreecommitdiff
path: root/tests/core/importmap/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/importmap/README.rst')
-rw-r--r--tests/core/importmap/README.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/core/importmap/README.rst b/tests/core/importmap/README.rst
new file mode 100644
index 00000000..7abf58d5
--- /dev/null
+++ b/tests/core/importmap/README.rst
@@ -0,0 +1,16 @@
+Import maps
+===========
+
+.. _go_library: /docs/go/core/rules.md#_go_library
+
+Tests to ensure that importmap is working as expected.
+
+.. contents::
+
+importmap_test
+--------------
+
+Test that importmap declarations on go_library_ are propagated and obeyed.
+This builds libraries using `src.go <src.go>`_ as multiple outputs with the differing importpaths,
+adds identical importmap declarations and then checks that the libraries can be correctly imported
+without colliding through differing intermediate libraries into `the main test <importmap_test.go>`_.