link-resolution.t cram test fails on macOS #2

Closed jonmsterling.com
Closed opened by jonmsterling.com
assigned to kento.tngl.sh

Some improvements have been made, but this one still fails. Here is the output:

Testing `Config parsing'.
This run has ID `5KCN6IAC'.

  [OK]          example config works                                  0   it parse...
  [OK]          can parse config with missing fields                  0
  [OK]          warns when encountering uninterpreted fields          0

Full test results in `~/Developer/ocaml-forester/_build/default/lib/frontend/test/_build/_tests/Config parsing'.
Test Successful in 0.001s. 3 tests run.
Testing `URI_util'.
This run has ID `2980U0KB'.

  [OK]          BaseN          0

Full test results in `~/Developer/ocaml-forester/_build/default/lib/compiler/test/_build/_tests/URI_util'.
Test Successful in 0.000s. 1 test run.
Testing `router'.
This run has ID `QCU7OIN5'.

  [OK]          static router           0   local pages.
  [OK]          static router           1   docs_page.
  [OK]          dynamic router          0
  [OK]          dynamic router          1
  [OK]          dynamic router          2

Test Successful in 0.000s. 5 tests run.
+mkdir: foreign
[http://forest.foreign/] [forester.profile] [INFO] Plant_foreign: 0.000s
[http://forest.foreign/] [forester.compiler] [DEBUG] discovered 0 assets
[http://forest.foreign/] [forester.profile] [INFO] Plant_assets: 0.000s
[http://forest.foreign/] [forester.compiler] [DEBUG] load_and_parse: got 1 files
[http://forest.foreign/] [forester.profile] [INFO] Parse_all.parse_files: 0.000s
[http://forest.foreign/] [forester.profile] [INFO] Parse_all.build_import_graph: 0.001s
[http://forest.foreign/] [forester.profile] [INFO] Parse_all: 0.001s
[http://forest.foreign/] [forester.compiler] [DEBUG] planting resource http://forest.foreign/index/
[http://forest.foreign/] [forester.profile] [INFO] Eval_all: 0.000s
[http://forest.foreign/] [forester.compiler] [DEBUG] planting resource http://forest.foreign/blob.json
[http://forest.foreign/] [forester.profile] [INFO] Eval_all.run_jobs_and_plant_assets: 0.000s
[http://forest.foreign/] [forester.profile] [INFO] Render_forest: 0.006s
[http://forest.local/] [forester.compiler] [DEBUG] implanting 1 foreign forests
[http://forest.local/] [forester.compiler] [DEBUG] discovered 0 assets
[http://forest.local/] [forester.profile] [INFO] Plant_assets: 0.000s
[http://forest.local/] [forester.compiler] [DEBUG] load_and_parse: got 0 files
[http://forest.local/] [forester.profile] [INFO] Parse_all.parse_files: 0.000s
[http://forest.local/] [forester.profile] [INFO] Parse_all.build_import_graph: 0.001s
[http://forest.local/] [forester.profile] [INFO] Parse_all: 0.001s
[http://forest.local/] [forester.compiler] [DEBUG] planting resource http://forest.foreign/index/
[http://forest.local/] [forester.profile] [INFO] Plant_foreign: 0.002s
[http://forest.local/] [forester.profile] [INFO] Eval_all: 0.000s
Testing `Import_graph'.
This run has ID `X3K02RQH'.

  [OK]          creating import graph          0   parsing and creating the import...

Full test results in `~/Developer/ocaml-forester/_build/default/lib/compiler/test/_build/_tests/Import_graph'.
Test Successful in 0.006s. 1 test run.
Testing `Test_uri_util'.
This run has ID `4KMQFST8'.

  [OK]          split_addr          0   split_addr.
  [OK]          split_addr          1   split_addr.
  [OK]          split_addr          2   split_addr.
  [OK]          split_addr          3   split_addr.
  [OK]          split_addr          4   split_addr.

Full test results in `~/Developer/ocaml-forester/_build/default/lib/core/test/_build/_tests/Test_uri_util'.
Test Successful in 0.000s. 5 tests run.
File "test/link-resolution.t", line 1, characters 0-0:
diff --git a/_build/default/test/link-resolution.t b/_build/default/test/link-resolution.t.corrected
index 7a394a7..b85831d 100644
--- a/_build/default/test/link-resolution.t
+++ b/_build/default/test/link-resolution.t.corrected
@@ -20,8 +20,8 @@
   index.html

   $ grep -o 'href="/feed[^"]*"' output/index/index.html | sort | uniq -c
-        1 href="/feed"
-        3 href="/feed/atom.xml"
+     1 href="/feed"
+     3 href="/feed/atom.xml"

   $ cat > trees/index.tree << EOF
   > \title{Index}

This is now fixed, thanks!

Sign up or Sign in to add to the discussion.