From 97dab717d3542dcf86e01eb2ca16fe771e9d8886 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 18 Nov 2019 12:33:25 +0300 Subject: Fix crashing on depends manifest values specifying earliest release in version constraint --- bpkg/satisfaction.test.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bpkg/satisfaction.test.cxx') diff --git a/bpkg/satisfaction.test.cxx b/bpkg/satisfaction.test.cxx index 4857e0d..5a0cd05 100644 --- a/bpkg/satisfaction.test.cxx +++ b/bpkg/satisfaction.test.cxx @@ -47,6 +47,8 @@ namespace bpkg assert (!satisfies (vc ("[1.0 2.0]"), vc ("[1.0 2.0+0)"))); assert (!satisfies (vc ("[1.0 2.0]"), vc ("[1.0 2.0+1)"))); + assert (satisfies (vc ("^1.0.0"), vc ("^1.0.0"))); + return 0; } } -- cgit v1.1