Wiktionary
measure swords with someone
vb. 1 To try someone's skill in the use of the sword. 2 (context figurative English) To match one's abilities against an antagonist's.