go against vs infract

go against

verb
  • To violate; to breach; to break. 

  • To oppose; to resist 

  • To be contrary to a trend, feeling or principle. 

  • To be unfavourable to someone. 

infract

verb
  • To infringe, violate or disobey (a rule). 

  • To break off. 

adj
  • Not broken or fractured; unharmed; whole. 

How often have the words go against and infract occurred in a corpus of books? (source: Google Ngram Viewer )