[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] net.venge.monotone.min-selector: ca439d72274c8f
From: |
code |
Subject: |
[Monotone-commits-diffs] net.venge.monotone.min-selector: ca439d72274c8f9d0ef0138abb777bd1410a456e |
Date: |
Thu, 26 Apr 2012 21:03:50 +0200 (CEST) |
revision: ca439d72274c8f9d0ef0138abb777bd1410a456e
date: 2012-04-26T18:37:13
author: Richard Hopkins <address@hidden>
branch: net.venge.monotone.min-selector
changelog:
Add tests for prospective 'min(A)' selector
manifest:
format_version "1"
new_manifest [9c6448c04983806a1281f4d1b8e9332eca5a6b17]
old_revision [9bb5a50d446795ef010213484da0be10118a2af7]
patch "test/func/extended-selectors/__driver__.lua"
from [cab379ef6f3439ab7f5a4424202ebf9097171c4c]
to [e80ed8e831bbc9cc346e7722c9877d32887104ef]
============================================================
--- test/func/extended-selectors/__driver__.lua cab379ef6f3439ab7f5a4424202ebf9097171c4c
+++ test/func/extended-selectors/__driver__.lua e80ed8e831bbc9cc346e7722c9877d32887104ef
@@ -3,6 +3,7 @@
-- not(a)
-- lca(a,b)
-- max(a)
+-- min(a)
-- ancestors(a)
-- descendants(a)
-- parents(a)
@@ -79,6 +80,12 @@ expect("b:testbranch|b:otherbranch", roo
expect("b:testbranch/b:otherbranch", lhs)
expect("b:testbranch|b:otherbranch", root, lhs, rhs, m, other, other_2)
+expect("min(*)", root)
+expect("min(b:testbranch)", root)
+expect("min(b:testbranch/a:Anne)", rhs)
+expect("min(b:otherbranch)", lhs)
+expect("min(a:Jim)", other)
+
-- now do same tests again with a double not - should get same results
expect("not(not(b:testbranch))", root, lhs, rhs, m)
expect("not(not(b:otherbranch))", lhs, other, other_2)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] net.venge.monotone.min-selector: ca439d72274c8f9d0ef0138abb777bd1410a456e,
code <=