Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jchavarri committed Oct 31, 2023
1 parent 1a81ae3 commit ff65f2b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions scripts/add_canonical.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Test add_canonical exe
$ add_canonical .

$ cat foo.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/foo.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/foo.html" /></head>


$ mkdir -p melange/Js/Global
Expand Down Expand Up @@ -98,46 +98,46 @@ Test add_canonical exe
$ add_canonical .

$ cat ./melange/Js/Global/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Js/Global/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Js/Global/index.html" /></head>

$ cat ./melange/Node/Foo/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Node/Foo/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Node/Foo/index.html" /></head>

$ cat ./melange/Dom/Storage2/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Dom/Storage2/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Dom/Storage2/index.html" /></head>

$ cat ./melange/Belt/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Belt/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Belt/index.html" /></head>

$ cat ./melange/Belt/List/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Belt/List/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Belt/List/index.html" /></head>

$ cat ./melange/Stdlib/Int/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Stdlib/Int/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Stdlib/Int/index.html" /></head>

$ cat ./melange/Js/Typed_array/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Js/Typed_array/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Js/Typed_array/index.html" /></head>

$ cat ./melange/Js/TypedArray2/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Js/TypedArray2/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Js/TypedArray2/index.html" /></head>

$ cat ./melange/Js/WeakSet/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Js/WeakSet/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Js/WeakSet/index.html" /></head>

$ cat ./melange/Js/Fn/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Js/Fn/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Js/Fn/index.html" /></head>

$ cat ./melange/Belt/Set/String/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Belt/Set/String/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Belt/Set/String/index.html" /></head>

$ cat ./melange/Belt/Map/Dict/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Belt/Map/Dict/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Belt/Map/Dict/index.html" /></head>

$ cat ./melange/Belt/SortArray/Int/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Belt/SortArray/Int/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Belt/SortArray/Int/index.html" /></head>

$ cat ./melange/Melange_ppx/Ast_literal/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Melange_ppx/Ast_literal/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Melange_ppx/Ast_literal/index.html" /></head>

$ cat ./melange/Melange_ppx/External/index.html
<head><link rel="canonical" href="https://melange.re/v2.0.0/api/melange/Melange_ppx/External/index.html" /></head>
<head><link rel="canonical" href="https://melange.re/v2.1.0/api/melange/Melange_ppx/External/index.html" /></head>

0 comments on commit ff65f2b

Please sign in to comment.