Which figure of speech is used in this text?
Unfortunately, the wild blueberries we picked were as sweet as vinegar.

 - onomatopoeia
 - verbal irony
The text uses verbal irony, which involves saying one thing but implying something very different.
As sweet as vinegar shows verbal irony because vinegar is sour, not sweet.